Skip to main content

ScaleBreak(String, String, String) Constructor

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

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

public ScaleBreak(
    string name,
    string edge1,
    string 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 String

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

edge2 String

A String value which specifies the qualitative 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 precedes or succeeds its edge2 value along an axis. 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 String for a qualitative axis.

See Also