Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win.Charts

#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