Skip to main content

TimeSpanSummaryOptions.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.1.dll

NuGet Package: DevExpress.Charts

Declaration

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

Property Value

Type Description
TimeSpanMeasureUnit

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 time-span values.

Second

Specifies a second as the measurement unit for time-span values.

Minute

Specifies a minute as the measurement unit for time-span values.

Hour

Specifies an hour as the measurement unit for time-span values.

Day

Specifies a day as the measurement unit for time-span values.

Property Paths

You can access this nested property as listed below:

Object Type Path to MeasureUnit
SeriesBase
.TimeSpanSummaryOptions .MeasureUnit
SeriesTemplateSummaryAdapter
.TimeSpanSummaryOptions .MeasureUnit
SummaryDataAdapter
.TimeSpanSummaryOptions .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