AggregateItem¶
AggregateItem in the SummaryView of ChartContent.
AggregateItem Properties¶
| Property | Type | Required |
|---|---|---|
| Title | string |
No |
| TrendImage | Image | No |
| TrendTitle | string |
No |
| Value | object |
No |
Title¶
- type:
string
TrendImage¶
This is only for iOS and not supported in Android.
- type: Image
TrendTitle¶
This is only for iOS and not supported in Android.
- type:
string
Value¶
You can provide a combination of three properties: LeadingUnit, Metrics, TrailingUnit. Instead of setting a fixed
Metrics value, you can use Function property to automatically calculate the value. If you don't choose any Metric
or Function, default Function of SUM will be applied. If this Value attribute is absent, then the default
Function of SUM will be applied.
- type:
objectwith following properties.
| Property | Type | Required | Default |
|---|---|---|---|
LeadingUnit |
string | No | |
TrailingUnit |
string | No | |
Function |
string | No | Sum |
Metrics |
array | No |
LeadingUnit¶
TrailingUnit¶
Function¶
This will be applied if both Metrics and Function are missing.
The value of this property must be one of the known values listed below.
| Value |
|---|
Sum |
Average |
Max |
Min |
Metrics¶
If this is absent, data will be derived based on Function, which is applied on the ChartView.Data items to arrive at the value.
- type:
string[]