windowsforms-devexpress-dot-xtracharts-dot-designer-dot-timespanscaleoptionsmodel-d9d159a7.md
Gets or sets the TimeSpanScaleOptions.GridAlignment property value within the model.
Namespace : DevExpress.XtraCharts.Designer
Assembly : DevExpress.XtraCharts.v25.2.Wizard.dll
NuGet Package : DevExpress.Win.Charts
[PropertyForOptions]
public TimeSpanGridAlignment GridAlignment { get; set; }
<PropertyForOptions>
Public Property GridAlignment As TimeSpanGridAlignment
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to GridAlignment |
|---|---|
| AxisBaseModel |
.TimeSpanScaleOptions .GridAlignment
|
See Also
TimeSpanScaleOptionsModel Class