Quarterly change
Positive and negative change, formatted as percent, with a deliberately long label. Build-time warnings: warning[text_truncated] at /data/2/label: text was shortened in the visual chart; the full value remains in the specification and HTML data alternative
Quarterly change
examples/quarterly-change.json{
"schemaVersion": 1,
"type": "bar",
"orientation": "horizontal",
"title": "Quarterly change",
"source": "Example data",
"categoryAxis": {
"title": "Quarter"
},
"valueAxis": {
"title": "Change",
"format": "percent"
},
"data": [
{
"label": "First quarter",
"value": 0.12
},
{
"label": "Second quarter",
"value": -0.04
},
{
"label": "Third quarter with a deliberately long label",
"value": 0.08
},
{
"label": "Fourth quarter",
"value": 0.15
}
]
}Source: Example data
Show chart data
| Category | Value |
|---|---|
| First quarter | 12% |
| Second quarter | -4% |
| Third quarter with a deliberately long label | 8% |
| Fourth quarter | 15% |