Skip to main content
A newer version of this page is available. .

ScaleBreakOptions.LineStyle Property

Gets or sets the style of the line that is used to draw a scale break.

Namespace: DevExpress.Xpf.Charts

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

NuGet Packages: DevExpress.WindowsDesktop.Wpf.Charts, DevExpress.Wpf.Charts

Declaration

public LineStyle LineStyle { get; set; }

Property Value

Type Description
LineStyle

The style that specifies the line appearance settings.

Property Paths

You can access this nested property as listed below:

Object Type Path to LineStyle
Axis2D
.ScaleBreakOptions .LineStyle
AxisX2D
.ScaleBreakOptions .LineStyle
AxisY2D
.ScaleBreakOptions .LineStyle
SecondaryAxisX2D
.ScaleBreakOptions .LineStyle
SecondaryAxisY2D
.ScaleBreakOptions .LineStyle

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.

View Example

<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