Skip to main content

DateTimeScaleOptionsModel.GridAlignment Property

Gets or sets the value of the DateTimeScaleOptions.GridAlignment within the model.

Namespace: DevExpress.XtraCharts.Designer

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

Declaration

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

Property Value

Type Description
DateTimeGridAlignment

The measurement unit to which gridlines and labels should be aligned.

Available values:

Name Description
Millisecond

Specifies a millisecond as the date-time unit to which axis gridlines should be aligned.

Second

Specifies a second as the date-time unit to which axis gridlines should be aligned.

Minute

Specifies a minute as the date-time unit to which axis gridlines should be aligned.

Hour

Specifies an hour as the date-time unit to which axis gridlines should be aligned.

Day

Specifies a day as the date-time unit to which axis gridlines should be aligned.

Week

Specifies a week as the date-time unit to which axis gridlines should be aligned.

Month

Specifies a month as the date-time unit to which axis gridlines should be aligned.

Quarter

Specifies a quarter of a year as the date-time unit to which axis gridlines should be aligned.

Year

Specifies a year as the date-time unit to which axis gridlines should be aligned.

Property Paths

You can access this nested property as listed below:

Object Type Path to GridAlignment
AxisBaseModel
.DateTimeScaleOptions .GridAlignment
See Also