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
40 lines
1.2 KiB
JSON
40 lines
1.2 KiB
JSON
{
|
|
"config": {
|
|
"type": "radar",
|
|
"data": {
|
|
"labels": ["A", "B", "C", "D", "E"]
|
|
},
|
|
"options": {
|
|
"responsive": false,
|
|
"scale": {
|
|
"gridLines": {
|
|
"display": true,
|
|
"color": [
|
|
"rgba(0, 0, 0, 0.5)",
|
|
"rgba(255, 255, 255, 0.5)",
|
|
false,
|
|
"",
|
|
"rgba(255, 0, 0, 0.5)",
|
|
"rgba(0, 255, 0, 0.5)",
|
|
"rgba(0, 0, 255, 0.5)",
|
|
"rgba(255, 255, 0, 0.5)",
|
|
"rgba(255, 0, 255, 0.5)",
|
|
"rgba(0, 255, 255, 0.5)"
|
|
],
|
|
"lineWidth": [false, 0, 1, 2, 1, 2, 1, 2, 1, 2]
|
|
},
|
|
"angleLines": {
|
|
"color": "rgba(255, 255, 255, 0.5)",
|
|
"lineWidth": 2
|
|
},
|
|
"pointLabels": {
|
|
"display": false
|
|
},
|
|
"ticks": {
|
|
"display": false
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|