Skip to main content

ChartRangeControlClientRange.Auto Property

Gets or sets a value that specifies whether the range of the chart range control client is calculated automatically.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[XtraSerializableProperty]
public bool Auto { get; set; }

Property Value

Type Description
Boolean

true if the chart client range is calculated automatically; otherwise, false.

Remarks

The auto range calculation is enabled (Auto property is set to true) by default for the chart range control client.

To reset the auto range calculation, define the custom range using the DateTimeChartRangeControlClientRange.Min and DateTimeChartRangeControlClientRange.Max properties for the date-time chart range control client or NumericChartRangeControlClientRange.Min and NumericChartRangeControlClientRange.Max properties for the numeric chart range control client.

The table below shows the Auto property in action for the numeric chart range control client (random data).

Auto = true

Auto = false, NumericChartRangeControlClientRange.Min=0,

NumericChartRangeControlClientRange.Max= 18

NumericChartClient_AutoRange

NumericChartClient_CustomRange

See Also