Axis

Axis class

Encapsulates the object that represents a chart’s axis.

public class Axis : DomObject<AxesManager>, IAxis

Properties

NameDescription
ActualMajorUnit { get; }Specifies actual major unit of the axis. Call method IChart.ValidateChartLayout() previously to get actual value.
ActualMajorUnitScale { get; }Specifies actual major unit scale of the axis. Call method IChart.ValidateChartLayout() previously to get actual value.
ActualMaxValue { get; }Specifies actual maximum value on the axis. Call method IChart.ValidateChartLayout() previously to get actual value.
ActualMinorUnit { get; }Specifies actual minor unit of the axis. Call method IChart.ValidateChartLayout() previously to get actual value.
ActualMinorUnitScale { get; }Specifies actual minor unit scale of the axis. Call method IChart.ValidateChartLayout() previously to get actual value.
ActualMinValue { get; }Specifies actual minimum value on the axis. Call method IChart.ValidateChartLayout() previously to get actual value.
AggregationType { get; set; }Represents aggregation type of category axis (binning). Applied to category. Used with Histogram or HistogramPareto series only.
AxisBetweenCategories { get; set; }Represents if the value axis crosses the category axis between categories. This property applies only to category axes, and it doesn’t apply to 3-D charts. Read/write Boolean.
BaseUnitScale { get; set; }Specifies the smallest time unit that is represented on the date axis. Read/write TimeUnitType.
BinWidth { get; set; }Specifies bin width when AggregationType property value setted to AxisAggregationType.ByBinWidth. Applied to category axes. Used with Histogram or HistogramPareto series only.
CategoryAxisType { get; set; }Specifies the type of the category axis. Read/write CategoryAxisType.
Chart { get; }Returns the parent chart. Read-only IChart.
CrossAt { get; set; }Represents the point on the axis where the perpendicular axis crosses it. Read/write Single.
CrossType { get; set; }Represents the CrossType on the specified axis where the other axis crosses. Read/write CrossesType.
DisplayUnit { get; set; }Specifies the scaling value of the display units for the value axis. Read/write DisplayUnitType.
Format { get; }Represents format of axis. Read-only IAxisFormat.
HasTitle { get; set; }Determines whether a axis has a visible title. Read/write Boolean.
IsAutomaticMajorUnit { get; set; }Indicates whether the major unit of the axis is automatically assigned. Read/write Boolean.
IsAutomaticMaxValue { get; set; }Indicates whether the max value is automatically assigned. Read/write Boolean.
IsAutomaticMinorUnit { get; set; }Indicates whether the minor unit of the axis is automatically assigned. Read/write Boolean.
IsAutomaticMinValue { get; set; }Indicates whether the min value is automatically assigned. Read/write Boolean.
IsAutomaticOverflowBin { get; set; }Specifies automatic overflow bin value. If false: use OverflowBin property.
IsAutomaticTickLabelSpacing { get; set; }Specifies automatic tick label spacing value. If false: use TickLabelSpacing property. Read/write Boolean.
IsAutomaticTickMarksSpacing { get; set; }Specifies automatic tick marks spacing value. If false: use TickMarksSpacing property. Read/write Boolean.
IsAutomaticUnderflowBin { get; set; }Specifies automatic underflow bin value. If false: use UnderflowBin property.
IsLogarithmic { get; set; }Represents if the value axis scale type is logarithmic or not. Read/write Boolean.
IsNumberFormatLinkedToSource { get; set; }Indicates whether the format is linked source data. Read/write Boolean.
IsOverflowBin { get; set; }Specifies if overflow bin applied. Use IsAutomaticOverflowBin and OverflowBin to adjust overflow bin value.
IsPlotOrderReversed { get; set; }Represents if MS PowerPoint plots data points from last to first. Read/write Boolean.
IsUnderflowBin { get; set; }Specifies if underflow bin applied. Use IsAutomaticUnderflowBin and UnderflowBin to adjust underflow bin value.
IsVisible { get; set; }Represents if the axis is visible. Read/write Boolean.
LabelOffset { get; set; }Specifies the distance of labels from the axis. Applied to category or date axis. Value must be between 0% and 1000%. Read/write UInt16.
LogBase { get; set; }Represents the logarithmic base. Default value is 10. Read/write Double.
MajorGridLinesFormat { get; }Represents major gridlines format on a chart axis. Read-only IChartLinesFormat.
MajorTickMark { get; set; }Represents the type of major tick mark for the specified axis. Read/write TickMarkType.
MajorUnit { get; set; }Represents the major units for the date or value axis. Read/write Double.
MajorUnitScale { get; set; }Represents the major unit scale for the date axis. Read/write TimeUnitType.
MaxValue { get; set; }Represents the maximum value on the value axis. Read/write Double.
MinorGridLinesFormat { get; }Represents minor gridlines format on a chart axis. Read-only IChartLinesFormat.
MinorTickMark { get; set; }Represents the type of minor tick mark for the specified axis. Read/write TickMarkType.
MinorUnit { get; set; }Represents the minor units for the date or value axis. Read/write Double.
MinorUnitScale { get; set; }Represents the major unit scale for the date axis. Read/write TimeUnitType.
MinValue { get; set; }Represents the minimum value on the value axis. Read/write Double.
NumberFormat { get; set; }Represents the format string for the Axis Labels. Read/write String.
NumberOfBins { get; set; }Specifies number of bins when AggregationType property value setted to AxisAggregationType.ByNumberOfBins. Applied to category axes. Used with Histogram or HistogramPareto series only.
OverflowBin { get; set; }Specifies overflow bin custom value. Applied when IsAutomaticOverflowBin property setted to false and IsOverflowBin property equals true.
Position { get; set; }Represents position of axis. Read/write AxisPositionType.
ShowMajorGridLines { get; }To hide major gridline set MajorGridLinesFormat.Line.FillFormat.FillType to FillType.NoFill. Read-only Boolean.
ShowMinorGridLines { get; }To hide minor gridline set MinorGridLinesFormat.Line.FillFormat.FillType to FillType.NoFill. Read-only Boolean.
TextFormat { get; }Represents format of text. Read-only IChartTextFormat.
TickLabelPosition { get; set; }Represents the position of tick-mark labels on the specified axis. Read/write TickLabelPositionType.
TickLabelRotationAngle { get; set; }Represents the rotation angle of tick labels. Read/write Single.
TickLabelSpacing { get; set; }Specifies how many tick labels to skip between label that is drawn. Applied to category or series axis. Read/write UInt32.
TickMarksSpacing { get; set; }Specifies how many tick marks shall be skipped before the next one shall be drawn. Applied to category or series axis. Read/write UInt16.
Title { get; }Gets the axis’ title. Read-only IChartTitle.
UnderflowBin { get; set; }Specifies underflow bin custom value. Applied when IsAutomaticUnderflowBin property setted to false and IsUnderflowBin property equals true.

Methods

NameDescription
SetCategoryAxisTypeAutomatically()Sets IAxis.CategoryAxisType property with a value that is automatically determined based on axis data.

See Also