mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-08 05:09:08 +02:00
ffe4ab14dc
Remove options.scale, in favor of options.scales.r
42 lines
813 B
JSON
42 lines
813 B
JSON
{
|
|
"config": {
|
|
"type": "radar",
|
|
"data": {
|
|
"labels": ["A", "B", "C", "D", "E"],
|
|
"datasets": [
|
|
{
|
|
"backgroundColor": "rgba(255, 0, 0, 1)",
|
|
"data": [1, 2, 3, 3, 3]
|
|
}
|
|
]
|
|
},
|
|
"options": {
|
|
"responsive": false,
|
|
"scales": {
|
|
"r": {
|
|
"gridLines": {
|
|
"color": "rgba(0, 0, 0, 1)",
|
|
"lineWidth": 1
|
|
},
|
|
"angleLines": {
|
|
"color": "rgba(0, 0, 255, 1)",
|
|
"lineWidth": 1
|
|
},
|
|
"pointLabels": {
|
|
"display": false
|
|
},
|
|
"ticks": {
|
|
"display": false
|
|
}
|
|
}
|
|
},
|
|
"plugins": {
|
|
"legend": false,
|
|
"title": false,
|
|
"tooltip": false,
|
|
"filler": true
|
|
}
|
|
}
|
|
}
|
|
}
|