A newer version of this page is available. Switch to the current version.

DateTimeSummaryOptions.MeasureUnit Property

Gets or sets the measurement unit that specifies the precision level of series points’ argument values.

Namespace: DevExpress.XtraCharts

Assembly: DevExpress.XtraCharts.v18.2.dll

Declaration

[XtraSerializableProperty]
public DateTimeMeasureUnit MeasureUnit { get; set; }

Property Value

Type Description
DateTimeMeasureUnit

The measurement unit that specifies the precision level of series points’ argument values.

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.

Property Paths

You can access this nested property as listed below:

Object Type Path to MeasureUnit
Series
.DateTimeSummaryOptions.MeasureUnit
SeriesBase
.DateTimeSummaryOptions.MeasureUnit
SeriesTemplate
.DateTimeSummaryOptions.MeasureUnit

Remarks

The series groups values with more detailed argument values into a collection with the key that has the required precision value. Then, the summary function calculates series points’ values by these collections.

Refer to the How to: Create a Custom Summary Function example to learn how the function calculates a series point’s values.

See Also