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.v20.1.dll

Declaration

public bool WorkdaysOnly { get; set; }
Public Property WorkdaysOnly As Boolean

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:

Remarks

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