Skip to main content

DateTimeMeasureUnit Enum

Lists the values that specify the detail level for date-time values.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v24.1.dll

NuGet Package: DevExpress.Charts

Declaration

[ResourceFinder(typeof(XtraChartsResFinder), "PropertyNamesRes")]
[TypeConverter(typeof(EnumTypeConverter))]
public enum DateTimeMeasureUnit

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.

Related API Members

The following properties accept/return DateTimeMeasureUnit values:

Library Related API Members
Cross-Platform Class Library DateTimeScaleOptions.MeasureUnit
DateTimeSummaryOptions.MeasureUnit
WinForms Controls DateTimeScaleOptionsModel.MeasureUnit
DateTimeSummaryOptionsModel.MeasureUnit

Remarks

The values listed by the DateTimeMeasureUnit enumeration are used to set the DateTimeScaleOptions.MeasureUnit property.

See Also