Skip to main content

Range.SetAuto() Method

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

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public void SetAuto()

Remarks

By default, minimum and maximum limits of the Range 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 Range.MinValue and Range.MaxValue properties either at design time, programmatically or in XAML. Then, if you need to ignore the previously specified minimum and maximum limits of the Range, enable the automatic limits calculation by calling the SetAuto method.

See Also