Area chart
Prints one numeric series as a filled area chart.
When xLabels is provided, it must contain one label per value. When both bounds are provided, yMin must be lower than yMax.
Example
{
"type": "areaChart",
"series": {
"label": "Room",
"values": [
19,
21,
20,
22
]
},
"xLabels": [
"08:00",
"10:00",
"12:00",
"14:00"
]
}Fields
| Field | Type | Description | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
typerequired | "areaChart" | Discriminator for area-chart blocks. | |||||||||
seriesrequired | object | Series plotted as a filled area. Nested fields
| |||||||||
xLabelsoptional | array<string> | Optional x-axis labels for each data point. Keep labels as short as possible.
| |||||||||
yMinoptional | number | Optional lower bound for the y-axis. | |||||||||
yMaxoptional | number | Optional upper bound for the y-axis. |