Axis2D.ScaleBreakOptions Property
In This Article
Gets or sets the appearance settings of the axis scale breaks.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
#Declaration
public ScaleBreakOptions ScaleBreakOptions { get; set; }
#Property Value
Type | Description |
---|---|
Scale |
The storage that contains the appearance settings of scale breaks. |
#Remarks
The ScaleBreakOptions property provides the axis scale break appearance settings. Note that these settings affect both manually and automatically created axis scale breaks.
#Example
This example shows how to customize the scale break appearance.
To do this, use the following ScaleBreakOptions class properties:
- The ScaleBreakOptions.SizeInPixels property specifies distance between a scale break’s edges.
- The ScaleBreakOptions.Style property defines the appearance of the scale break edges.
- The ScaleBreakOptions.Brush property sets the a scale break edge color.
- The ScaleBreakOptions.LineStyle property specifies parameters of a line that is used to draw scale break edges.
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