Chart.js/test/fixtures/scale.radialLinear/indexable-gridlines.json
Jukka Kurkela ce74eb76a1 Convert axis options from arrays to objects (#6773)
* Convert axis options from arrays to objects

* Updated all chart type defaults
* Throw errors when axis type or position are not specified
* Avoid raising unnecessary errors when merging options into the default configs

* Fix additional tests

* Ensure scale defaults are set if type is not explicitly defined

* Another step

* Include `scale` as `firstIDs.r`

* update docs

* Update for buildOrUpdateScales

* Update migration guide

* Add test back
2019-11-21 18:46:49 -05:00

42 lines
1.2 KiB
JSON

{
"config": {
"type": "radar",
"data": {
"labels": ["A", "B", "C", "D", "E"]
},
"options": {
"responsive": false,
"legend": false,
"title": 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
}
}
}
}
}