AxisBase.DateTimeGridAlignment Property

OBSOLETE

This property is obsolete now. Use GridAlignment instead.

Gets or sets the date-time measurement unit to which the beginning of a diagram’s gridlines and labels should be aligned.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v21.1.dll

Declaration

[Obsolete("This property is obsolete now. Use DateTimeScaleOptions.GridAlignment instead.")]
[Browsable(false)]
public DateTimeMeasurementUnit DateTimeGridAlignment { get; set; }

Property Value

Type Description
DateTimeMeasurementUnit

A DateTimeMeasurementUnit enumeration value which represents the measurement unit to which the beginning of a diagram’s gridlines and labels should be aligned.

Available values:

Name Description
Millisecond

Specifies a millisecond as the measurement unit for date-time values.

Second

Specifies a second as the measurement unit for date-time values.

Minute

Specifies a minute as the measurement unit for date-time values.

Hour

Specifies an hour as the measurement unit for date-time values.

Day

Specifies a day as the measurement unit for date-time values.

Week

Specifies a week as the measurement unit for date-time values.

Month

Specifies a month as the measurement unit for date-time values.

Quarter

Specifies a quarter of a year as the measurement unit for date-time values.

Year

Specifies a year as the measurement unit for date-time values.

Remarks

This property is now obsolete. Use DateTimeScaleOptions.GridAlignment property instead.

See Also