Back to Devexpress

Workday and Holiday Exclusion

aspnet-16482-components-chart-control-concepts-creating-charts-data-representation-workday-and-holiday-exclusion.md

latest2.1 KB
Original Source

Workday and Holiday Exclusion

  • Dec 17, 2020
  • 2 minutes to read

When you use the date-time argument scale type, you may need to exclude non-working days from the X-axis scale. The following image shows how to use the DateTimeScaleOptions.WorkdaysOnly property to exclude non-working days.

Axis.DateTimeScaleOptions.WorkdaysOnly = falseAxis.DateTimeScaleOptions.WorkdaysOnly = true

When this property is enabled, the DateTimeScaleOptions.WorkdaysOptions property becomes available. The WorkdaysOptions property allows you to specify the following properties:

See Also

How to: Exclude Weekends and Holidays from the Axis Scale