Back to Devexpress

ScaleBreakOptions.Style Property

wpf-devexpress-dot-xpf-dot-charts-dot-scalebreakoptions-d564026b.md

latest3.6 KB
Original Source

ScaleBreakOptions.Style Property

Gets or sets an appearance of scale break edges.

Namespace : DevExpress.Xpf.Charts

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

NuGet Package : DevExpress.Wpf.Charts

Declaration

csharp
public ScaleBreakStyle Style { get; set; }
vb
Public Property Style As ScaleBreakStyle

Property Value

TypeDescription
ScaleBreakStyle

The scale break edge style.

|

Available values:

NameDescription
Straight

The straight style of scale break edges.

| | Ragged |

The ragged style of scale break edges.

| | Waved |

The wavy style of scale breaks edges.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to Style
Axis2D

.ScaleBreakOptions .Style

|

Remarks

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

ValueImage
ScaleBreakStyle.Ragged
ScaleBreakStyle.Straight
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.

xaml
<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

ScaleBreakOptions Class

ScaleBreakOptions Members

DevExpress.Xpf.Charts Namespace