Skip to main content

AxisRange.SetAuto() Method

Enables automatic calculation of minimum and maximum values of the axis range.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public void SetAuto()

Remarks

By default, minimum and maximum limits of the AxisRange are calculated automatically, based upon the underlying data (namely, arguments or data values which depend upon the axis’s type - X or Y respectively) in all the series being drawn on the chart control’s diagram. In addition, it is possible to explicitly set these limits by modifying the AxisRange.MinValue (AxisRange.MinValueInternal) and AxisRange.MaxValue (AxisRange.MaxValueInternal) properties either at design time, programmatically or in XAML. Then, if you need to ignore the previously specified minimum and maximum limits of the AxisRange, enable the automatic limits calculation by calling the SetAuto method.

See Also