All docs
V21.1
21.2 (EAP/Beta)
21.1
20.2
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.

ChartRangeControlClientTimeSpanGridOptions.GridAlignment Property

Gets or sets the time-span measure unit to which the chart’s gridlines and labels should be aligned when the chart is bound to the range control.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.1.dll

Declaration

public TimeSpanGridAlignment GridAlignment { get; set; }

Property Value

Type Description
TimeSpanGridAlignment

A TimeSpanGridAlignment enumeration value that represents the measurement unit to which a chart’s gridlines and labels should be aligned.

Available values:

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.

Property Paths

You can access this nested property as listed below:

Object Type Path to GridAlignment
GanttDiagram
SwiftPlotDiagram
XYDiagram
XYDiagram2D
See Also