2017-12-02 12:38:36 +01:00
|
|
|
{
|
|
|
|
"config": {
|
|
|
|
"type": "bar",
|
|
|
|
"data": {
|
|
|
|
"labels": ["2016", "2018", "2020", "2024", "2030"],
|
|
|
|
"datasets": [{
|
|
|
|
"backgroundColor": "#FF6384",
|
|
|
|
"data": [
|
2020-06-18 23:36:53 +02:00
|
|
|
{"y": "1", "x": "2016"},
|
|
|
|
{"y": "2", "x": "2017"},
|
|
|
|
{"y": "3", "x": "2017-08"},
|
|
|
|
{"y": "4", "x": "2024"},
|
|
|
|
{"y": "5", "x": "2030"}
|
2017-12-02 12:38:36 +01:00
|
|
|
]
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"responsive": false,
|
|
|
|
"legend": false,
|
|
|
|
"title": false,
|
2020-01-14 01:39:30 +01:00
|
|
|
"bar": {
|
|
|
|
"datasets": {
|
2019-10-27 14:15:53 +01:00
|
|
|
"barPercentage": 1,
|
|
|
|
"categoryPercentage": 1
|
|
|
|
}
|
|
|
|
},
|
2017-12-02 12:38:36 +01:00
|
|
|
"scales": {
|
2019-11-22 00:46:49 +01:00
|
|
|
"x": {
|
2017-12-02 12:38:36 +01:00
|
|
|
"type": "time",
|
|
|
|
"display": false,
|
2019-11-22 00:46:49 +01:00
|
|
|
"offset": false,
|
2019-05-06 22:46:22 +02:00
|
|
|
"time": {
|
|
|
|
"parser": "YYYY-MM"
|
|
|
|
},
|
2017-12-02 12:38:36 +01:00
|
|
|
"ticks": {
|
|
|
|
"source": "labels"
|
|
|
|
}
|
2019-11-22 00:46:49 +01:00
|
|
|
},
|
|
|
|
"y": {
|
2017-12-02 12:38:36 +01:00
|
|
|
"display": false,
|
2019-11-15 18:11:13 +01:00
|
|
|
"beginAtZero": true
|
2019-11-22 00:46:49 +01:00
|
|
|
}
|
2017-12-02 12:38:36 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"canvas": {
|
|
|
|
"height": 256,
|
|
|
|
"width": 512
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|