Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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