DateTimeScaleOptionsBase.WorkdaysOnly Property
Specifies whether holidays and non-working days should be excluded from the axis scale.
Namespace: DevExpress.Xpf.Charts
Assembly: DevExpress.Xpf.Charts.v24.2.dll
NuGet Package: DevExpress.Wpf.Charts
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to exclude non-working days from the axis scale; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to WorkdaysOnly |
---|---|
ArgumentAxis3D |
|
AxisX2D |
|
AxisX3D |
|
RadarAxisX2D |
|
Remarks
The WorkdaysOnly property is available for an axis if its scale type is date-time.
Property values | Resulting image |
---|---|
WorkdaysOnly = false | |
WorkdaysOnly = true |
After the WorkdaysOnly property is enabled, the DateTimeScaleOptionsBase.WorkdaysOptions allow you to specify non-working days, holidays and strict workdays for the axis scale.
For more information, refer to Work Time and Workday Configuration.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the WorkdaysOnly property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.