Skip to main content

AxisRange Class

Contains the common settings that define the range displayed by an axis.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v23.1.dll

NuGet Package: DevExpress.Charts


public abstract class AxisRange :


The AxisRange class serves as a base for the AxisXRange and AxisYRange classes, and declares properties that define the common visible range settings of axes.

Among the main settings exposed via the properties of the AxisRange class, there is the capability to explicitly specify the minimum and maximum axis values - either in axis units appropriate for the axis scale type (via the Range.MinValue and Range.MaxValue properties), or in internal floating representations of the axis values with no regard to the axis scale type (via the Range.MinValueInternal and Range.MaxValueInternal properties). Or, you can force these values to be calculated automatically, based upon the chart’s data (by enabling the AxisRange.Auto property).

Moreover, in a similar way, and using similar options, you can control the range of an axis, via its use the AxisBase.VisualRange and AxisBase.WholeRange properties.

For more information, refer to Visual Ranges and Whole Ranges .

See Also