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.v21.2.dll


public bool WorkdaysOnly { get; set; }

Property Value

Type Description

true, to exclude non-working days from the axis scale; otherwise, false.

Property Paths

You can access this nested property as listed below:


The WorkdaysOnly property is available for an axis if its scale type is date-time.

Property values Resulting image
WorkdaysOnly = false WorkdaysOnly_false
WorkdaysOnly = true 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.

See Also