Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ScaleBreakOptions.Style Property

Gets or sets an appearance of scale break edges.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

#Declaration

public ScaleBreakStyle Style { get; set; }

#Property Value

Type Description
ScaleBreakStyle

The scale break edge style.

Available values:

Name Description
Straight

The straight style of scale break edges.

ScaleBreakStyle_Straight

Ragged

The ragged style of scale break edges.

ScaleBreakStyle_Ragged

Waved

The wavy style of scale breaks edges.

ScaleBreakStyle_Waved

#Property Paths

You can access this nested property as listed below:

Object Type Path to Style
Axis2D

#Remarks

Use the ScaleBreakStyle enumeration values to specify the Style property. The following table lists all the possible values.

Value Image
ScaleBreakStyle.Ragged ScaleBreakStyle_Ragged
ScaleBreakStyle.Straight ScaleBreakStyle_Straight
ScaleBreakStyle.Waved ScaleBreakStyle_Waved

#Example

This example shows how to customize the scale break appearance.

To do this, use the following ScaleBreakOptions class properties:

Note that ScaleBreakOptions define the appearance of both manual and automatic scale breaks.

<dxc:AxisY2D.ScaleBreakOptions>
    <dxc:ScaleBreakOptions SizeInPixels="15" 
                           Style="Waved" 
                           Brush="Gray">
        <dxc:ScaleBreakOptions.LineStyle>
            <dxc:LineStyle Thickness="2"/>
        </dxc:ScaleBreakOptions.LineStyle>
    </dxc:ScaleBreakOptions>
</dxc:AxisY2D.ScaleBreakOptions>
See Also