Skip to main content

ScaleBreak(String, Double, Double) Constructor

Initializes a new instance of the ScaleBreak class with the specified name and Double edges (suitable for an axis whose scale type is numeric).

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.2.dll

NuGet Package: DevExpress.Charts

Declaration

public ScaleBreak(
    string name,
    double edge1,
    double edge2
)

Parameters

Name Type Description
name String

A String that specifies the name of the scale break. This value is assigned to the ChartElementNamed.Name property.

edge1 Double

A Double value which specifies the numeric value along the axis, which corresponds to the scale break’s first edge.

edge2 Double

A Double value which specifies the numeric value along the axis, which corresponds to the scale break’s second edge.

Remarks

Note that for a scale break to be successfully created, it doesn’t matter whether its edge1 value is more or less than its edge2 value. For more information, refer to Scale Breaks.

Note

The edge1 and edge2 parameters should be specified in measurement units appropriate for the axis scale type. In particular, their values should be Double for a numeric axis.

See Also