mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-08 13:19:07 +02:00
ffe4ab14dc
Remove options.scale, in favor of options.scales.r
42 lines
968 B
JSON
42 lines
968 B
JSON
{
|
|
"config": {
|
|
"type": "radar",
|
|
"data": {
|
|
"labels": ["A", "B", "C", "D", "E"]
|
|
},
|
|
"options": {
|
|
"responsive": false,
|
|
"scales": {
|
|
"r": {
|
|
"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
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|