TimeSpanGridAlignment Enum
Lists the values that specify the time-span measurement unit that is used to align gridlines and labels.
Namespace: DevExpress.XtraCharts
Assembly: DevExpress.XtraCharts.v25.1.dll
NuGet Package: DevExpress.Charts
Declaration
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum TimeSpanGridAlignment
Members
| Name | Description |
|---|---|
Millisecond
|
Specifies millisecond as the time-span unit to which axis grid lines should be aligned. |
Second
|
Specifies second as the time-span unit to which axis grid lines should be aligned. |
Minute
|
Specifies minute as the time-span unit to which axis grid lines should be aligned. |
Hour
|
Specifies hour as the time-span unit to which axis grid lines should be aligned. |
Day
|
Specifies day as the time-span unit to which axis grid lines should be aligned. |
Related API Members
The following properties accept/return TimeSpanGridAlignment values:
| Library | Related API Members |
|---|---|
| Cross-Platform Class Library | ChartRangeControlClientTimeSpanGridOptions.GridAlignment |
| ChartRangeControlClientTimeSpanGridOptions.SnapAlignment | |
| TimeSpanScaleOptions.GridAlignment | |
| WinForms Controls | ChartRangeControlClientTimeSpanGridOptionsModel.GridAlignment |
| ChartRangeControlClientTimeSpanGridOptionsModel.SnapAlignment | |
| TimeSpanScaleOptionsModel.GridAlignment |
Remarks
Use the TimeSpanGridAlignment enumeration values to specify the TimeSpanScaleOptions.GridAlignment property.