mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-09 05:39:06 +02:00
25 lines
344 B
JSON
25 lines
344 B
JSON
|
{
|
||
|
"config": {
|
||
|
"type": "doughnut",
|
||
|
"data": {
|
||
|
"labels": ["", "", "", "", "", ""],
|
||
|
"datasets": [{
|
||
|
"data": [10, 20, 30, 40, 50],
|
||
|
"backgroundColor": "#00ff00",
|
||
|
"borderWidth": 0
|
||
|
}]
|
||
|
},
|
||
|
"options": {
|
||
|
"legend": {
|
||
|
"position": "right"
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"options": {
|
||
|
"canvas": {
|
||
|
"height": 256,
|
||
|
"width": 512
|
||
|
}
|
||
|
}
|
||
|
}
|