corelibraries-devexpress-dot-xtracharts-dot-timespansummaryoptions.md
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
public TimeSpanMeasureUnit MeasureUnit { get; set; }
Public Property MeasureUnit As TimeSpanMeasureUnit
| 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.
|
You can access this nested property as listed below:
| Object Type | Path to MeasureUnit |
|---|---|
| SeriesBase |
.TimeSpanSummaryOptions .MeasureUnit
| | SeriesTemplateSummaryAdapter |
.TimeSpanSummaryOptions .MeasureUnit
| | SummaryDataAdapter |
.TimeSpanSummaryOptions .MeasureUnit
|
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