2019-12-17 00:17:42 +01:00
|
|
|
{
|
|
|
|
"config": {
|
|
|
|
"type": "scatter",
|
|
|
|
"data": {
|
|
|
|
"datasets": [{
|
|
|
|
"data": [{
|
|
|
|
"x": -20,
|
|
|
|
"y": -30
|
|
|
|
}, {
|
|
|
|
"x": 0,
|
|
|
|
"y": 0
|
|
|
|
}, {
|
|
|
|
"x": 20,
|
|
|
|
"y": 15
|
|
|
|
}]
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"scales": {
|
|
|
|
"x": {
|
|
|
|
"position": {
|
|
|
|
"y": 30
|
|
|
|
},
|
|
|
|
"axis": "x",
|
|
|
|
"min": -100,
|
|
|
|
"max": 100,
|
|
|
|
"gridLines": {
|
|
|
|
"color": "red",
|
|
|
|
"drawOnChartArea": false
|
|
|
|
},
|
|
|
|
"ticks": {
|
2020-12-22 17:33:53 +01:00
|
|
|
"display": true
|
2019-12-17 00:17:42 +01:00
|
|
|
}
|
|
|
|
},
|
|
|
|
"y": {
|
|
|
|
"position": "left",
|
|
|
|
"axis": "y",
|
|
|
|
"min": -100,
|
|
|
|
"max": 100,
|
|
|
|
"gridLines": {
|
|
|
|
"color": "red",
|
|
|
|
"drawOnChartArea": false
|
|
|
|
},
|
|
|
|
"ticks": {
|
2020-12-22 17:33:53 +01:00
|
|
|
"display": true
|
2019-12-17 00:17:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"canvas": {
|
|
|
|
"height": 256,
|
|
|
|
"width": 512
|
2020-12-22 17:33:53 +01:00
|
|
|
},
|
|
|
|
"spriteText": true
|
2019-12-17 00:17:42 +01:00
|
|
|
}
|
|
|
|
}
|