Skip to main content

Axis.DateTimeMeasureUnit Property

OBSOLETE

The Axis.DateTimeMeasureUnit property is now obsolete. Use the AxisX.ManualDateTimeScaleOptions.MeasureUnit property instead.

Gets or sets the detail level for date-time values.

Namespace: DevExpress.Xpf.Charts

Assembly: DevExpress.Xpf.Charts.v24.1.dll

NuGet Package: DevExpress.Wpf.Charts

Declaration

[Obsolete("The Axis.DateTimeMeasureUnit property is now obsolete. Use the AxisX.ManualDateTimeScaleOptions.MeasureUnit property instead.")]
[Browsable(false)]
public DateTimeMeasurementUnit DateTimeMeasureUnit { get; set; }

Property Value

Type Description
DateTimeMeasurementUnit

A DateTimeMeasurementUnit enumeration value which represents the axis’ detail level.

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 available when the Series.ArgumentScaleType or Series.ValueScaleType property is set to DateTime.

To define a date-time measurement unit, to which the beginning of a diagram’s gridlines and labels should be aligned, use the Axis.DateTimeGridAlignment property.

See Also