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

NameTypeAccessDescription
TypeChartAxisTypeReadReturns type of the axis.
CategoryTypeAxisCategoryTypeRead/WriteGets or sets type of the category axis.
CrossesAxisCrossesRead/WriteSpecifies how this axis crosses the perpendicular axis.
CrossesAtdoubleRead/WriteSpecifies where on the perpendicular axis the axis crosses.
ReverseOrderboolRead/WriteReturns or sets a flag indicating whether values of axis should be displayed in reverse order, i.e.
MajorTickMarkAxisTickMarkRead/WriteReturns or sets the major tick marks.
MinorTickMarkAxisTickMarkRead/WriteReturns or sets the minor tick marks for the axis.
MajorUnitdoubleRead/WriteReturns or sets the distance between major tick marks.
MajorUnitIsAutoboolRead/WriteGets or sets a flag indicating whether default distance between major tick marks shall be used.
MajorUnitScaleAxisTimeUnitRead/WriteReturns or sets the scale value for major tick marks on the time category axis.
MinorUnitdoubleRead/WriteReturns or sets the distance between minor tick marks.
MinorUnitIsAutoboolRead/WriteGets or sets a flag indicating whether default distance between minor tick marks shall be used.
MinorUnitScaleAxisTimeUnitRead/WriteReturns or sets the scale value for minor tick marks on the time category axis.
BaseTimeUnitAxisTimeUnitRead/WriteReturns or sets the smallest time unit that is represented on the time category axis.
NumberFormatChartNumberFormatReadReturns a ChartNumberFormat object that allows defining number formats for the axis.
DisplayUnitAxisDisplayUnitReadSpecifies the scaling value of the display units for the value axis.
AxisBetweenCategoriesboolRead/WriteGets or sets a flag indicating whether the value axis crosses the category axis between categories.
ScalingAxisScalingReadProvides access to the scaling options of the axis.
TickMarkSpacingintRead/WriteGets or sets the interval, at which tick marks are drawn.
HiddenboolRead/WriteGets or sets a flag indicating whether this axis is hidden or not.
HasMajorGridlinesboolRead/WriteGets or sets a flag indicating whether the axis has major gridlines.
HasMinorGridlinesboolRead/WriteGets or sets a flag indicating whether the axis has minor gridlines.
TitleChartAxisTitleReadProvides access to the axis title properties.
TickLabelsAxisTickLabelsReadProvides access to the properties of the axis tick mark labels.
FormatChartFormatReadProvides access to line formatting of the axis and fill of the tick labels.
DocumentDocumentBaseReadReturns the document containing the parent chart.

See Also