Skip to main content

ChartRangeControlClientDateTimeGridOptionsModel.SnapAlignment Property

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

Namespace: DevExpress.XtraCharts.Designer

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

NuGet Package: DevExpress.Win.Charts

Declaration

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

Property Value

Type Description
DateTimeGridAlignment

The selection thumbs alignment interval.

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