Skip to main content

TimeSpanScaleOptionsModel.GridAlignment Property

Gets or sets the TimeSpanScaleOptions.GridAlignment property value within the model.

Namespace: DevExpress.XtraCharts.Designer

Assembly: DevExpress.XtraCharts.v24.2.Wizard.dll

Declaration

[PropertyForOptions]
public TimeSpanGridAlignment GridAlignment { get; set; }

Property Value

Type Description
TimeSpanGridAlignment

A time-span measurement unit to which the beginning of an axis’ 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
AxisBaseModel
.TimeSpanScaleOptions .GridAlignment
See Also