Skip to main content
A newer version of this page is available. .

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

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