Skip to main content

DateTimeGridAlignment Enum

Lists the values that specify the date-time measurement unit to which the beginning of a diagram’s gridlines and labels should be aligned.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

public enum DateTimeGridAlignment

Members

Name Description
Millisecond

Specifies millisecond as the date-time unit to which axis grid lines should be aligned.

Second

Specifies second as the date-time unit to which axis grid lines should be aligned.

Minute

Specifies minute as the date-time unit to which axis grid lines should be aligned.

Hour

Specifies hour as the date-time unit to which axis grid lines should be aligned.

Day

Specifies day as the date-time unit to which axis grid lines should be aligned.

Week

Specifies week as the date-time unit to which axis grid lines should be aligned.

Month

Specifies month as the date-time unit to which axis grid lines should be aligned.

Quarter

Specifies a quarter of a year as the date-time unit to which axis grid lines should be aligned.

Year

Specifies year as the date-time unit to which axis grid lines should be aligned.

Related API Members

The following properties accept/return DateTimeGridAlignment values:

Remarks

The values listed by the DateTimeGridAlignment enumeration are used to set the ManualDateTimeScaleOptions.GridAlignment, and ContinuousDateTimeScaleOptions.GridAlignment properties.

See Also