Skip to main content
A newer version of this page is available. .

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

NuGet Packages: DevExpress.Charts, DevExpress.WindowsDesktop.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 TimeSpanScaleOptionsModel.GridAlignment

Remarks

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

See Also