AggregateItem¶
AggregateItem
in the SummaryView
of ChartContent.
AggregateItem Properties¶
Property | Type | Required |
---|---|---|
Title | string |
Optional |
TrendImage | Image | Optional |
TrendTitle | string |
Optional |
Value | object |
Optional |
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:
object
with following properties.
Property | Type | Required | Default |
---|---|---|---|
LeadingUnit |
string | Optional | |
TrailingUnit |
string | Optional | |
Function |
string | Optional | SUM |
Metrics |
array | Optional |
LeadingUnit¶
TrailingUnit¶
Function¶
This will be applied if both Metrics
and Function
are missing.
The value of this property must be equal to one of the known values 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[]