ChartAxis
Overview
ChartAxis is a class in Aspose.Words FOSS for .NET.
Inherits from: IDmlChartTitleHolder, IDmlExtensionListSource, INumberFormatProvider, and 1 more.
Represents the axis options of the chart.
Properties: AxisBetweenCategories, BaseTimeUnit, CategoryType, Crosses, CrossesAt, DisplayUnit, and 20 more.
Properties
| Name | Type | Access | Description |
|---|---|---|---|
Type | ChartAxisType | Read | Returns type of the axis. |
CategoryType | AxisCategoryType | Read/Write | Gets or sets type of the category axis. |
Crosses | AxisCrosses | Read/Write | Specifies how this axis crosses the perpendicular axis. |
CrossesAt | double | Read/Write | Specifies where on the perpendicular axis the axis crosses. |
ReverseOrder | bool | Read/Write | Returns or sets a flag indicating whether values of axis should be displayed in reverse order, i.e. |
MajorTickMark | AxisTickMark | Read/Write | Returns or sets the major tick marks. |
MinorTickMark | AxisTickMark | Read/Write | Returns or sets the minor tick marks for the axis. |
MajorUnit | double | Read/Write | Returns or sets the distance between major tick marks. |
MajorUnitIsAuto | bool | Read/Write | Gets or sets a flag indicating whether default distance between major tick marks shall be used. |
MajorUnitScale | AxisTimeUnit | Read/Write | Returns or sets the scale value for major tick marks on the time category axis. |
MinorUnit | double | Read/Write | Returns or sets the distance between minor tick marks. |
MinorUnitIsAuto | bool | Read/Write | Gets or sets a flag indicating whether default distance between minor tick marks shall be used. |
MinorUnitScale | AxisTimeUnit | Read/Write | Returns or sets the scale value for minor tick marks on the time category axis. |
BaseTimeUnit | AxisTimeUnit | Read/Write | Returns or sets the smallest time unit that is represented on the time category axis. |
NumberFormat | ChartNumberFormat | Read | Returns a ChartNumberFormat object that allows defining number formats for the axis. |
DisplayUnit | AxisDisplayUnit | Read | Specifies the scaling value of the display units for the value axis. |
AxisBetweenCategories | bool | Read/Write | Gets or sets a flag indicating whether the value axis crosses the category axis between categories. |
Scaling | AxisScaling | Read | Provides access to the scaling options of the axis. |
TickMarkSpacing | int | Read/Write | Gets or sets the interval, at which tick marks are drawn. |
Hidden | bool | Read/Write | Gets or sets a flag indicating whether this axis is hidden or not. |
HasMajorGridlines | bool | Read/Write | Gets or sets a flag indicating whether the axis has major gridlines. |
HasMinorGridlines | bool | Read/Write | Gets or sets a flag indicating whether the axis has minor gridlines. |
Title | ChartAxisTitle | Read | Provides access to the axis title properties. |
TickLabels | AxisTickLabels | Read | Provides access to the properties of the axis tick mark labels. |
Format | ChartFormat | Read | Provides access to line formatting of the axis and fill of the tick labels. |
Document | DocumentBase | Read | Returns the document containing the parent chart. |