Skip to main content

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.v24.2.dll

Declaration

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
SeriesBase
.DateTimeSummaryOptions .MeasureUnit
SeriesTemplateSummaryAdapter
.DateTimeSummaryOptions .MeasureUnit
SummaryDataAdapter
.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