AxisRange Class
Obsolete. Contains settings that define the range of an axis.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v14.2.dll
#Declaration
[Obsolete("The AxisRange class is obsolete now. Use the Range class instead.")]
[TypeConverter(typeof(AxisRangeTypeConverter))]
public sealed class AxisRange :
ChartNonVisualElement,
IAxisRange,
ICloneable
#Remarks
An object of the AxisRange type is returned by the Axis.Range property.
By default, axis range is auto-calculated, and doesn't need any property adjusting.
However, the options provided by the AxisRange class allow you to limit an axis range manually, by specifying both the minimum and maximum axis value. This can be done either in axis units appropriate for the axis scale type (via the AxisRange.MinValue and AxisRange.MaxValue properties), or in internal floating representations of the axis values with no regard to the scale type (via the AxisRange.MinValueInternal and AxisRange.MaxValueInternal properties).
The internal values have higher priority than axis values. That is, if both the AxisRange.MinValue and AxisRange.MinValueInternal properties are defined, only the internal value is taken.
The values calculated for these properties can then be obtained via the corresponding Actual* property (e.g. AxisRange.ActualMaxValue and AxisRange.ActualMaxValueInternal).
To switch the axis range back to automatic mode, assign NaN to both the AxisRange.MinValueInternal and AxisRange.MaxValueInternal properties.