2019-02-27 23:06:54 +01:00
|
|
|
{
|
|
|
|
"config": {
|
|
|
|
"type": "pie",
|
|
|
|
"data": {
|
|
|
|
"datasets": [
|
|
|
|
{
|
|
|
|
"data": [ 1, 1 ],
|
|
|
|
"backgroundColor": [
|
|
|
|
"rgba(255, 99, 132, 0.8)",
|
|
|
|
"rgba(54, 162, 235, 0.8)"
|
|
|
|
],
|
|
|
|
"borderWidth": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data": [ 2, 1 ],
|
|
|
|
"hidden": true,
|
|
|
|
"borderWidth": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data": [ 3, 3 ],
|
|
|
|
"weight": 3,
|
|
|
|
"backgroundColor": [
|
|
|
|
"rgba(255, 206, 86, 0.8)",
|
|
|
|
"rgba(75, 192, 192, 0.8)"
|
|
|
|
],
|
|
|
|
"borderWidth": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data": [ 4, 0 ],
|
|
|
|
"weight": 0,
|
|
|
|
"borderWidth": 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"data": [ 5, 0 ],
|
|
|
|
"weight": -2,
|
|
|
|
"borderWidth": 0
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"labels": [ "label0", "label1" ]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"canvas": {
|
|
|
|
"height": 500,
|
|
|
|
"width": 500
|
|
|
|
}
|
|
|
|
}
|
2020-11-23 23:58:03 +01:00
|
|
|
}
|