AutoScaleBreaks.Enabled Property

Gets or sets a value indicating whether to enable automatic scale breaks.

Namespace: DevExpress.Xpf.Charts

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


public bool Enabled { get; set; }
Public Property Enabled As Boolean

Property Value

Type Description

true, if automatic scale breaks are enabled; otherwise, false.


When scale breaks are enabled, you can use the AutoScaleBreaks.MaxCount property to define the maximum possible value of auto-generated scale breaks.

The Axis2D.ScaleBreaks property provides access to the manually added scale break collection.


This example shows how to automatically generate scale breaks for an axis.

To do this, set the AutoScaleBreaks.Enabled property to true. Limit the maximum possible number of auto-created scale breaks using the AutoScaleBreaks.MaxCount property.

            <dxc:AutoScaleBreaks Enabled="True" 
See Also