Back to Devexpress

Range.SetAuto() Method

wpf-devexpress-dot-xpf-dot-charts-dot-range-90780948.md

latest1.6 KB
Original Source

Range.SetAuto() Method

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

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public void SetAuto()
vb
Public Sub 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

Range Class

Range Members

DevExpress.Xpf.Charts Namespace