Back to Devexpress

Axis2D.AutoScaleBreaks Property

wpf-devexpress-dot-xpf-dot-charts-dot-axis2d-9aae0765.md

latest1.8 KB
Original Source

Axis2D.AutoScaleBreaks Property

Gets or sets the auto-generated scale break parameters.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public AutoScaleBreaks AutoScaleBreaks { get; set; }
vb
Public Property AutoScaleBreaks As AutoScaleBreaks

Property Value

TypeDescription
AutoScaleBreaks

The settings of automatic scale breaks.

|

Remarks

Use the Axis2D.ScaleBreaks property to access the manual scale break collection.

Example

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.

xaml
<dxc:XYDiagram2D.AxisY>
    <dxc:AxisY2D>
        <dxc:AxisY2D.AutoScaleBreaks>
            <dxc:AutoScaleBreaks Enabled="True" 
                                 MaxCount="3"/>
        </dxc:AxisY2D.AutoScaleBreaks>
    </dxc:AxisY2D>
</dxc:XYDiagram2D.AxisY>

See Also

Axis2D Class

Axis2D Members

DevExpress.Xpf.Charts Namespace