All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

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.v20.1.dll

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
public enum TimeSpanGridAlignment
<ResourceFinder(GetType(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 TimeSpanScaleOptionsModel.GridAlignment

Remarks

Use the TimeSpanGridAlignment enumeration values to specify the TimeSpanScaleOptions.GridAlignment property.

See Also