mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-09 05:39:06 +02:00
021561072b
Disabling all plugins when options.plugins = false
43 lines
1.0 KiB
JSON
43 lines
1.0 KiB
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,
|
|
"scale": {
|
|
"display": false,
|
|
"gridLines": {
|
|
"circular": true
|
|
}
|
|
},
|
|
"elements": {
|
|
"point": {
|
|
"radius": 0
|
|
},
|
|
"line": {
|
|
"borderColor": "transparent",
|
|
"fill": { "value": 3 }
|
|
}
|
|
},
|
|
"plugins": {
|
|
"legend": false,
|
|
"title": false,
|
|
"tooltip": false
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"canvas": {
|
|
"height": 256,
|
|
"width": 256
|
|
}
|
|
}
|
|
}
|