AutoScaleBreaks.MaxCount Property

Gets or sets the maximum number of auto-generated scale breaks.

Namespace: DevExpress.Xpf.Charts

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


public int MaxCount { get; set; }
Public Property MaxCount As Integer

Property Value

Type Description

The maximum number of automatic scale breaks. The default value is 4.


Use the MaxCount property to specify the maximum possible number of automatic scale breaks allowed when the AutoScaleBreaks.Enabled property is set to true.

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