ScaleBreak(String, DateTime, DateTime) Constructor
Initializes a new instance of the ScaleBreak class with the specified name and Date-Time edges (suitable for an axis whose scale type is date-time).
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v24.1.dll
NuGet Package: DevExpress.Charts
Declaration
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 | DateTime | A DateTime value which specifies the date-time value along the axis, which corresponds to the scale break’s first edge. |
edge2 | DateTime | A DateTime value which specifies the date-time 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 DateTime for a date-time axis.