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

ChartRangeControlClientDateTimeGridOptionsModel.GridAlignment Property

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

Namespace: DevExpress.XtraCharts.Designer

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

NuGet Package: DevExpress.Win.Charts

#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
XYDiagram2DModel
See Also