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.XtraCharts
Assembly: DevExpress.XtraCharts.v18.1.dll
Declaration
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(EnumTypeConverter))]
public enum DateTimeGridAlignment
Members
Name | Description |
---|---|
Millisecond
|
Specifies a millisecond as the date-time unit to which axis gridlines should be aligned. |
Second
|
Specifies a second as the date-time unit to which axis gridlines should be aligned. |
Minute
|
Specifies a minute as the date-time unit to which axis gridlines should be aligned. |
Hour
|
Specifies an hour as the date-time unit to which axis gridlines should be aligned. |
Day
|
Specifies a day as the date-time unit to which axis gridlines should be aligned. |
Week
|
Specifies a week as the date-time unit to which axis gridlines should be aligned. |
Month
|
Specifies a month as the date-time unit to which axis gridlines should be aligned. |
Quarter
|
Specifies a quarter of a year as the date-time unit to which axis gridlines should be aligned. |
Year
|
Specifies a year as the date-time unit to which axis gridlines should be aligned. |
Related API Members
The following properties accept/return DateTimeGridAlignment values:
Library | Related API Members |
---|---|
Cross-Platform Class Library | ChartRangeControlClientDateTimeGridOptions.GridAlignment |
ChartRangeControlClientDateTimeGridOptions.SnapAlignment | |
DateTimeScaleOptions.GridAlignment | |
WinForms Controls | ChartRangeControlClientDateTimeGridOptionsModel.GridAlignment |
ChartRangeControlClientDateTimeGridOptionsModel.SnapAlignment | |
DateTimeScaleOptionsModel.GridAlignment |
Remarks
The values listed by the DateTimeGridAlignment enumeration are used to set the DateTimeScaleOptions.GridAlignment property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the DateTimeGridAlignment enum.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.