mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
42 lines
920 B
JSON
42 lines
920 B
JSON
{
|
|
"config": {
|
|
"type": "polarArea",
|
|
"data": {
|
|
"labels": ["A", "B", "C", "D", "E"],
|
|
"datasets": [
|
|
{
|
|
"data": [11, 16, 21, 1, 10],
|
|
"backgroundColor": [
|
|
"rgba(255, 99, 132, 0.8)",
|
|
"rgba(54, 162, 235, 0.8)",
|
|
"rgba(255, 206, 86, 0.8)",
|
|
"rgba(75, 192, 192, 0.8)",
|
|
"rgba(153, 102, 255, 0.8)"
|
|
],
|
|
"borderWidth": 20,
|
|
"borderColor": [
|
|
"rgb(255, 99, 132)",
|
|
"rgb(54, 162, 235)",
|
|
"rgb(255, 206, 86)",
|
|
"rgb(75, 192, 192)",
|
|
"rgb(153, 102, 255)"
|
|
]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"elements": {
|
|
"arc": {
|
|
"angle": [2.1658, 10.8404, 21.6922, 108.4323, 216.8588]
|
|
}
|
|
},
|
|
"responsive": false,
|
|
"scales": {
|
|
"r": {
|
|
"display": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|