corelibraries-devexpress-dot-xtracharts-aad77178.md
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.v25.2.dll
NuGet Package : DevExpress.Charts
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum DateTimeGridAlignment
<ResourceFinder(GetType(XtraChartsResFinder), "PropertyNamesRes")>
Public Enum DateTimeGridAlignment
| 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.
|
The following properties accept/return DateTimeGridAlignment values:
The values listed by the DateTimeGridAlignment enumeration are used to set the DateTimeScaleOptions.GridAlignment property.
See Also