mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-09 05:39:06 +02:00
40 lines
976 B
JSON
40 lines
976 B
JSON
|
{
|
||
|
"config": {
|
||
|
"type": "radar",
|
||
|
"data": {
|
||
|
"labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
|
||
|
"datasets": [{
|
||
|
"backgroundColor": "rgba(0, 0, 192, 0.25)",
|
||
|
"data": [0, -4, 2, 4, 2, 1, -1, 1, 2]
|
||
|
}]
|
||
|
},
|
||
|
"options": {
|
||
|
"responsive": false,
|
||
|
"spanGaps": false,
|
||
|
"legend": false,
|
||
|
"title": false,
|
||
|
"scale": {
|
||
|
"display": false,
|
||
|
"gridLines": {
|
||
|
"circular": true
|
||
|
}
|
||
|
},
|
||
|
"elements": {
|
||
|
"point": {
|
||
|
"radius": 0
|
||
|
},
|
||
|
"line": {
|
||
|
"borderColor": "transparent",
|
||
|
"fill": { "value": 3 }
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
},
|
||
|
"options": {
|
||
|
"canvas": {
|
||
|
"height": 256,
|
||
|
"width": 256
|
||
|
}
|
||
|
}
|
||
|
}
|