Skip to main content

LinearScale.AutoRescaling Property

Gets or sets whether the scale’s range of values is automatically expanded when the scale’s current Value reaches either the LinearScale.MinValue or LinearScale.MaxValue.

Namespace: DevExpress.XtraGauges.Core.Model

Assembly: DevExpress.XtraGauges.v22.2.Core.dll

NuGet Package: DevExpress.Gauges.Core

Declaration

[DefaultValue(false)]
public bool AutoRescaling { get; set; }

Property Value

Type Default Description
Boolean false

true if the auto-expanding of the scale’s minimum and maximum values is enabled; otherwise, false.

Remarks

The AutoRescaling property enables automatic adjustment of the LinearScale.MinValue and LinearScale.MaxValue properties when the scale’s current LinearScale.Value reaches any of these bounds. This auto-adjustment feature is identical to the feature introduced by the ArcScale.AutoRescaling property in circular gauges. Please refer to the ArcScale.AutoRescaling topic, to learn more.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the AutoRescaling property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also