ScaleBreak(String, DateOnly, DateOnly) Constructor
Initializes a new instance of the ScaleBreak class with the specified name and edge values (suitable for an axis with the DateTime scale type).
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v25.2.dll
NuGet Package: DevExpress.Charts
Declaration
Parameters
| Name | Type | Description |
|---|---|---|
| name | String | A String that specifies the scale break name. This value is assigned to the ChartElementNamed.Name property. |
| edge1 | DateOnly | A DateOnly value on the axis that corresponds to the scale break’s first edge. |
| edge2 | DateOnly | A DateOnly value on the axis that corresponds to the scale break’s second edge. |
Remarks
A scale break is created regardless of whether its edge1 value is greater or smaller than its edge2 value. Refer to the following help topic for more information: Scale Breaks.
Note
edge1 and edge2 parameters should be specified in measurement units appropriate for the axis scale type. Use DateOnly objects for a DateTime axis.