Back to Devexpress

ChartRangeControlClientTimeSpanGridOptions.GridAlignment Property

corelibraries-devexpress-dot-xtracharts-dot-chartrangecontrolclienttimespangridoptions.md

latest2.4 KB
Original Source

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.v25.2.dll

NuGet Package : DevExpress.Charts

Declaration

csharp
public TimeSpanGridAlignment GridAlignment { get; set; }
vb
Public Property GridAlignment As TimeSpanGridAlignment

Property Value

TypeDescription
TimeSpanGridAlignment

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

|

Available values:

NameDescription
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 TypePath to GridAlignment
XYDiagram2D

.RangeControlTimeSpanGridOptions .GridAlignment

|

See Also

ChartRangeControlClientTimeSpanGridOptions Class

ChartRangeControlClientTimeSpanGridOptions Members

DevExpress.XtraCharts Namespace