Skip to main content

ScaleBreak.Edge2 Property

Gets or sets the scale break’s second edge.

Namespace: DevExpress.Xpf.Charts

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

NuGet Package: DevExpress.Wpf.Charts

Declaration

public object Edge2 { get; set; }

Property Value

Type Description
Object

A Object that specifies the scale break’s second edge.

Remarks

Use the ScaleBreak.Edge1 and Edge2 properties to define a range along an axis that should be replaced by a scale break. These values are expressed in measurement units of an axis.

ScaleBreaks_Edges

Note that a scale break is successfully created with no regard to whether its edge1 value is more or less than its edge2 value, and to the sequence in which these properties are defined.

Example

This example demonstrates how to manually create scale breaks for a y-axis.

To do this, add a ScaleBreak object to the Axis2D.ScaleBreaks collection. Then, specify the ScaleBreak.Edge1 and ScaleBreak.Edge2 property values to define a data range that should be replaced by a scale break. Note that the Edge1 and Edge2 values are specified in measurement units of the axis.

<dxc:AxisY2D.ScaleBreaks>
    <dxc:ScaleBreak Edge1="21000" 
                    Edge2="37000"/>
    <dxc:ScaleBreak Edge1="45000" 
                    Edge2="85000" />
</dxc:AxisY2D.ScaleBreaks>
See Also