mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-09 05:39:06 +02:00
7f97adf5a0
* Move scale defining options up from `ticks` * Include `ticks.reverse` in v3-migration
94 lines
2.6 KiB
JSON
94 lines
2.6 KiB
JSON
{
|
|
"config": {
|
|
"type": "radar",
|
|
"data": {
|
|
"labels": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9],
|
|
"datasets": [{
|
|
"borderColor": "transparent",
|
|
"data": [3, 3, 3, 3, 3, 3, 3, 3, 3, 3],
|
|
"pointBackgroundColor": "#00ff00",
|
|
"pointBorderColor": "transparent",
|
|
"pointBorderWidth": 0,
|
|
"pointRadius": 16,
|
|
"pointStyle": [
|
|
"circle",
|
|
"cross",
|
|
"crossRot",
|
|
"dash",
|
|
"line",
|
|
"rect",
|
|
"rectRounded",
|
|
"rectRot",
|
|
"star",
|
|
"triangle"
|
|
]
|
|
}, {
|
|
"borderColor": "transparent",
|
|
"data": [2, 2, 2, 2, 2, 2, 2, 2, 2, 2],
|
|
"pointBackgroundColor": "transparent",
|
|
"pointBorderColor": "#0000ff",
|
|
"pointBorderWidth": 1,
|
|
"pointRadius": 16,
|
|
"pointStyle": [
|
|
"circle",
|
|
"cross",
|
|
"crossRot",
|
|
"dash",
|
|
"line",
|
|
"rect",
|
|
"rectRounded",
|
|
"rectRot",
|
|
"star",
|
|
"triangle"
|
|
]
|
|
}, {
|
|
"borderColor": "transparent",
|
|
"data": [1, 1, 1, 1, 1, 1, 1, 1, 1, 1],
|
|
"pointBackgroundColor": "#00ff00",
|
|
"pointBorderColor": "#0000ff",
|
|
"pointBorderWidth": 1,
|
|
"pointRadius": 16,
|
|
"pointStyle": [
|
|
"circle",
|
|
"cross",
|
|
"crossRot",
|
|
"dash",
|
|
"line",
|
|
"rect",
|
|
"rectRounded",
|
|
"rectRot",
|
|
"star",
|
|
"triangle"
|
|
]
|
|
}]
|
|
},
|
|
"options": {
|
|
"responsive": false,
|
|
"legend": false,
|
|
"title": false,
|
|
"scale": {
|
|
"display": false,
|
|
"min": 0,
|
|
"max": 3
|
|
},
|
|
"elements": {
|
|
"line": {
|
|
"fill": false
|
|
}
|
|
},
|
|
"layout": {
|
|
"padding": {
|
|
"left": 24,
|
|
"right": 24
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"options": {
|
|
"canvas": {
|
|
"height": 512,
|
|
"width": 512
|
|
}
|
|
}
|
|
}
|