Skip to main content
A newer version of this page is available. .

RadarAxisX2D.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.v19.1.dll

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 radar X-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 gridline and labels should be aligned, use the RadarAxisX2D.DateTimeGridAlignment property.

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the DateTimeMeasureUnit property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also