2019-05-21 11:15:33 +02:00
|
|
|
{
|
|
|
|
"config": {
|
|
|
|
"type": "radar",
|
|
|
|
"data": {
|
|
|
|
"labels": ["0", "1", "2", "3", "4", "5", "6", "7", "8"],
|
|
|
|
"datasets": [{
|
|
|
|
"backgroundColor": "rgba(255, 0, 0, 0.25)",
|
2019-05-21 11:50:38 +02:00
|
|
|
"data": [null, null, 0, -1, 0, 1, 0, -1, 0],
|
2019-05-21 11:15:33 +02:00
|
|
|
"fill": 1
|
|
|
|
}, {
|
|
|
|
"backgroundColor": "rgba(0, 255, 0, 0.25)",
|
2019-05-21 11:50:38 +02:00
|
|
|
"data": [1, 0, null, 1, 0, null, -1, 0, 1],
|
2019-05-21 11:15:33 +02:00
|
|
|
"fill": "+1"
|
|
|
|
}, {
|
|
|
|
"backgroundColor": "rgba(0, 0, 255, 0.25)",
|
|
|
|
"data": [0, 2, 0, -2, 0, 2, 0],
|
|
|
|
"fill": 3
|
|
|
|
}, {
|
|
|
|
"backgroundColor": "rgba(255, 0, 255, 0.25)",
|
|
|
|
"data": [2, 0, -2, 0, 2, 0, -2, 0, 2],
|
|
|
|
"fill": "-2"
|
|
|
|
}, {
|
|
|
|
"backgroundColor": "rgba(255, 255, 0, 0.25)",
|
|
|
|
"data": [3, 1, -1, -3, -1, 1, 3, 1, -1],
|
|
|
|
"fill": "-1"
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"responsive": false,
|
2019-06-19 13:12:53 +02:00
|
|
|
"spanGaps": false,
|
2020-11-25 07:50:12 +01:00
|
|
|
"plugins": {
|
|
|
|
"legend": false,
|
|
|
|
"title": false
|
|
|
|
},
|
2019-05-21 11:15:33 +02:00
|
|
|
"scale": {
|
|
|
|
"display": false
|
|
|
|
},
|
|
|
|
"elements": {
|
|
|
|
"point": {
|
|
|
|
"radius": 0
|
|
|
|
},
|
|
|
|
"line": {
|
|
|
|
"borderColor": "transparent",
|
|
|
|
"tension": 0.5
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"canvas": {
|
|
|
|
"height": 256,
|
|
|
|
"width": 256
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|