Skip to main content

Axis Members

Represents an axis on a chart.

Properties

Name Description
Auto Gets or sets a value indicating whether the category axis type should be selected automatically based on data.
AutoMajorUnit Gets whether the major unit for the value or date axis is evaluated automatically.
AutoMinorUnit Gets whether the minor unit for the value or date axis is evaluated automatically.
AxisType Returns the type of the chart axis.
BaseTimeUnit Gets or sets the base unit for the date axis.
CrossesAt Specifies a point on the perpendicular axis at which the current and perpendicular axes should cross.
CrossPosition Gets or sets a value that specifies where the value axis crosses the category axis on a 2-D chart.
CrossType Specifies where the current axis crosses the perpendicular axis.
DisplayUnits Provides access to options used to specify the display units for the value axis.
Fill Provides access to fill options for the specified drawing object. Inherited from ShapeFormatBase.
Font Provides access to font attributes for text displayed in a chart element. Inherited from ShapeTextFormat.
LabelAlignment Gets or sets the text alignment for the tick-mark labels on the category axis.
LabelOffset Gets or sets a value that specifies the space between labels and the category axis.
MajorGridlines Provides access to settings used to draw the major gridlines on the chart.
MajorTickMarks Gets or sets the position of major tick marks on the axis.
MajorTimeUnit Gets or sets the time unit for major tick marks on the date axis.
MajorUnit Gets or sets the distance between the major tick marks and major gridlines on the chart.
MinorGridlines Provides access to settings used to draw the minor gridlines on the chart.
MinorTickMarks Gets or sets the position of minor tick marks on the axis.
MinorTimeUnit Gets or sets the time unit for minor tick marks on the date axis.
MinorUnit Gets or sets the distance between the minor tick marks and minor gridlines on the chart.
NoMultilevelLabels Gets or sets a value indicating whether the multi-level category labels should not be used.
NumberFormat Provides access to number format options for numerical values displayed in axis labels.
Outline Provides access to the options used to format an outline of the specified drawing object. Inherited from ShapeFormatBase.
Position Gets or sets the axis position on the chart.
Scaling Provides access to the axis scaling settings.
TextDirection Gets or sets the text direction in a chart element. Inherited from ShapeTextFormat.
TextRotation Gets or sets the rotation angle of the text in a chart element. Inherited from ShapeTextFormat.
TickLabelPosition Gets or sets the position of the tick-mark labels on the axis.
TickLabelSkip Gets or sets the number of categories or series between the tick-mark labels on the category or series axis.
TickMarkSkip Gets or sets the number of categories or series between the tick-marks on the category or series axis.
Title Provides access to options used to display and format the axis title.
Visible Gets or sets a value indicating whether the axis should be displayed.

Methods

Name Description
ResetToMatchStyle() Removes custom formatting of the chart element and applies default formatting based on the chart style. Inherited from ShapeFormat.
SetAutoMajorUnit() Automatically evaluates the distance between the major tick marks and major gridlines for the value or date axis.
SetAutoMinorUnit() Automatically evaluates the distance between the minor tick marks and minor gridlines for the value or date axis.
See Also