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.v24.1.dll
NuGet Package: DevExpress.Charts
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.