Axis Class
The base class for all axes present in the XYDiagram2D class.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v14.2.dll
#Declaration
#Remarks
The Axis class introduces the general functionality for all axes derived from it.
Axes may feature different scale types, whose availability depends on whether the axis displays arguments or values, and which can be specified via the Series.ArgumentScaleType and Series.ValueScaleType properties, respectively.
An Axis' visible range can be delimited by two values, each of which can be expressed in two measurement units - by a value appropriate to the current axis scale type, or by an internal double value. These options can be accessed via the Axis.Range property, and when they are set to default values, the axis range is calculated automatically. To manually adjust it, specify the AxisRange.MinValue and AxisRange.MaxValue (or, AxisRange.MinValueInternal and AxisRange.MaxValueInternal) properties.
Axis label options are accessed via the AxisBase.Label property. Among them, label text options are specified via the AxisBase.NumericOptions (if the current axis scale type is ScaleType.Numerical), or via the Axis.DateTimeOptions (if the scale type is ScaleType.DateTime).
The frequency of axis grid lines can be customized via the AxisBase.MinorCount, Axis.GridSpacing and Axis.DateTimeGridAlignment properties; while line appearance can be customized via the AxisBase.GridLinesBrush, AxisBase.GridLinesLineStyle, AxisBase.GridLinesMinorBrush, AxisBase.GridLinesMinorLineStyle and AxisBase.GridLinesMinorVisible and AxisBase.GridLinesVisible properties. And, axis interlacing options are accessed via the AxisBase.Interlaced and AxisBase.InterlacedBrush property.