Skip to main content

DateTimeMeasurementUnit Enum

OBSOLETE

This enum is obsolete now. Use the DateTimeMeasureUnit enum instead.

Lists the values that specify the unit of measurement for date-time values within a chart control.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[Obsolete("This enum is obsolete now. Use the DateTimeMeasureUnit enum instead.")]
[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(EnumTypeConverter))]
public enum DateTimeMeasurementUnit

Members

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

The values listed by this enumeration are used to set the AxisBase.DateTimeMeasureUnit and AxisBase.DateTimeGridAlignment properties.

For more information, refer to Data Aggregation.

See Also