Back to Devexpress

TimeSpanSummaryOptions.MeasureUnit Property

corelibraries-devexpress-dot-xtracharts-dot-timespansummaryoptions.md

latest2.9 KB
Original Source

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

NuGet Package : DevExpress.Charts

Declaration

csharp
public TimeSpanMeasureUnit MeasureUnit { get; set; }
vb
Public Property MeasureUnit As TimeSpanMeasureUnit

Property Value

TypeDescription
TimeSpanMeasureUnit

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

|

Available values:

NameDescription
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 TypePath 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

TimeSpanSummaryOptions Class

TimeSpanSummaryOptions Members

DevExpress.XtraCharts Namespace