Skip to main content

Workday and Holiday Exclusion

  • 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 = false Axis.DateTimeScaleOptions.WorkdaysOnly = true
WorkdaysOnly_false 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