This chart shows how the WidgetConfiguration and DataUpdate schema elements map to the display attributes for the different graphic types. For the table entries,
true
, will not be retrieved from the data.
Element | Attribute | Line | Bar | Stacked Bar | Pie | Meter | Table |
---|---|---|---|---|---|---|---|
configuration | title | X | X | X | X | X | X |
suppressLegend | X | -- | X | X | -- | -- | |
legendTitle | X | -- | X | X | -- | -- | |
timestampPrefix | X | X | X | X | X | X | |
width | X | X | X | X | X | X | |
height | X | X | X | X | X | X | |
font | X | X | X | X | X | X | |
dataUpdate | timestamp | X | X | X | X | X | X |
summary | -- | -- | -- | total value | actual rate | -- | |
range | context | y-axis label | y-axis label | y-axis label | pie context label | rate definition label | -- |
minValue | 0 | 0 | 0 | -- | 0 | -- | |
maxValue | X | X | X | -- | X | -- | |
segmentMarker | value | y-axis tick | y-axis tick | y-axis tick | - | division tick** | -- |
position | X | X | X | -- | X | -- | |
categorization | description | x-axis label | x-axis label | x-axis label | -- | -- | -- |
category | id | mandatory | mandatory | mandatory | -- | -- | -- |
position | X | X | X | -- | -- | column order | |
name | x-axis tick | x-axis tick | x-axis tick | -- | -- | column header | |
total | -- | -- | stack value | -- | -- | -- | |
dataset | name | legend item | -- | legend item | legend item | -- | -- |
position | X | -- | X | X | -- | -- | |
total | -- | -- | -- | slice value | -- | -- | |
percentage | -- | -- | -- | slice percent value | -- | -- | |
datapoint | category | point x-value | bar x-value* | bar x-value | -- | -- | column* |
value | point y-value | bar y-value* | bar value | -- | needle value* | column value* |
* These values are taken from the first "dataset" and "datapoint" elements found in the input which satisfy the requirement regardless of any order which may be specified using "position" attributes.
** These values are sorted regardless of any position attributes which may be present. The maximum number of markers for this chart is specific and depends on whether a "maxValue" attribute is specified for the "range" element: two, if specified, three if not specified.