Freigeben über


Axis Members

Include Protected Members
Include Inherited Members

Represents a single axis in a chart.

The Axis type exposes the following members.

Properties

  Name Description
Public property Application When used without an object qualifier, returns an Application object that represents the Microsoft PowerPoint application. When used with an object qualifier, returns an Application object that represents the creator of the specified object (you can use this property with an Automation object to return the application of that object). Read-only.
Public property AxisBetweenCategories true if the value axis crosses the category axis between categories. Read/write Boolean value.
Public property AxisGroup Returns the type of axis group. Read-only XlAxisGroup.
Public property AxisTitle Returns the title of the specified axis. Read-only AxisTitle.
Public property BaseUnit Returns or sets the base unit for the specified category axis. Read/write XlTimeUnit.
Public property BaseUnitIsAuto true if Microsoft PowerPoint chooses appropriate base units for the specified category axis. The default is true. Read/write Boolean value.
Public property Border Returns the border of the object. Read-only ChartBorder.
Public property CategoryNames Returns or sets all the category names as a text array for the specified axis. Read/write.
Public property CategoryType Returns or sets the category axis type. Read/write XlCategoryType.
Public property Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only.
Public property Crosses Returns or sets the point on the specified axis where the other axis crosses. Read/write 64-bit signed integer.
Public property CrossesAt Returns or sets the point on the value axis where the category axis crosses it. Applies only to the value axis. Read/write double-precision floating-point number.
Public property DisplayUnit Returns or sets the unit label for the value axis. Read/write XlDisplayUnit, xlCustom, or xlNone.
Public property DisplayUnitCustom If the value of the DisplayUnit property is xlCustom, returns or sets the value of the displayed units. Read/write double-precision floating-point number.
Public property DisplayUnitLabel Returns the DisplayUnitLabel object for the specified axis. Returns a null reference (Nothing in Visual Basic) if the HasDisplayUnitLabel property is set to false. Read-only.
Public property Format Returns the line, fill, and effect formatting for the object. Read-only ChartFormat.
Public property HasDisplayUnitLabel true if the label specified by the DisplayUnit or DisplayUnitCustom property is displayed on the specified axis. The default is true. Read/write Boolean value.
Public property HasMajorGridlines true if the axis has major gridlines. Read/write Boolean value.
Public property HasMinorGridlines true if the axis has minor gridlines. Read/write Boolean value.
Public property HasTitle true if the axis or chart has a visible title. Read/write Boolean value.
Public property Height Returns the height, in points, of the object. Read-only double-precision floating-point number.
Public property Left Returns the distance, in points, from the left edge of the object to the left edge of the chart area. Read-only double-precision floating-point number.
Public property LogBase Returns or sets the base of the logarithm when you are using log scales. Read/write double-precision floating-point number.
Public property MajorGridlines Returns the major gridlines for the specified axis. Read-only Gridlines.
Public property MajorTickMark Returns or sets the type of major tick mark for the specified axis. Read/write XlTickMark.
Public property MajorUnit Returns or sets the major units for the value axis. Read/write double-precision floating-point number.
Public property MajorUnitIsAuto true if Microsoft PowerPoint calculates the major units for the value axis. Read/write Boolean value.
Public property MajorUnitScale Returns or sets the major unit scale value for the category axis when the CategoryType property is set to xlTimeScale. Read/write XlTimeUnit.
Public property MaximumScale Returns or sets the maximum value on the value axis. Read/write double-precision floating-point number.
Public property MaximumScaleIsAuto true if Microsoft PowerPoint calculates the maximum value for the value axis. Read/write Boolean value.
Public property MinimumScale Returns or sets the minimum value on the value axis. Read/write double-precision floating-point number.
Public property MinimumScaleIsAuto true if Microsoft PowerPoint calculates the minimum value for the value axis. Read/write Boolean value.
Public property MinorGridlines Returns the minor gridlines for the specified axis. Read-only Gridlines.
Public property MinorTickMark Returns or sets the type of minor tick mark for the specified axis. Read/write XlTickMark.
Public property MinorUnit Returns or sets the minor units on the value axis. Read/write double-precision floating-point number.
Public property MinorUnitIsAuto true if Microsoft PowerPoint calculates minor units for the value axis. Read/write Boolean value.
Public property MinorUnitScale Returns or sets the minor unit scale value for the category axis when the CategoryType property is set to xlTimeScale. Read/write XlTimeUnit.
Public property Parent Returns the parent for the specified object. Read-only.
Public property ReversePlotOrder true if Microsoft PowerPoint plots data points from last to first. Read/write Boolean value.
Public property ScaleType Returns or sets the value axis scale type. Read/write XlScaleType.
Public property TickLabelPosition Describes the position of tick-mark labels on the specified axis. Read/write XlTickLabelPosition.
Public property TickLabels Returns the tick-mark labels for the specified axis. Read-only TickLabels.
Public property TickLabelSpacing Returns or sets the number of categories or series between tick-mark labels. Read/write 64-bit signed integer.
Public property TickLabelSpacingIsAuto Returns or sets a value that indicates whether the tick label spacing is automatic. Read/write Boolean value.
Public property TickMarkSpacing Returns or sets the number of categories or series between tick marks. Read/write 64-bit signed integer.
Public property Top Returns the distance, in points, from the top edge of the object to the top of row 1 (on a worksheet) or the top of the chart area (on a chart). Read-only double-precision floating-point number.
Public property Type Returns the axis type. Read-only XlAxisType.
Public property Width Returns the width, in points, of the object. Read-only double-precision floating-point number.

Top

Methods

  Name Description
Public method Delete Deletes the object.
Public method Select Selects the object.

Top

See Also

Reference

Axis Interface

Microsoft.Office.Interop.PowerPoint Namespace