2018-07-09 21:14:25 +02:00
|
|
|
{
|
|
|
|
"config": {
|
|
|
|
"type": "bubble",
|
|
|
|
"data": {
|
|
|
|
"datasets": [{
|
|
|
|
"data": [
|
|
|
|
{"x": 0, "y": 3, "r": 0},
|
|
|
|
{"x": 1, "y": 3, "r": 2},
|
|
|
|
{"x": 2, "y": 3, "r": 4},
|
|
|
|
{"x": 3, "y": 3, "r": 8},
|
|
|
|
{"x": 4, "y": 3, "r": 16},
|
|
|
|
{"x": 5, "y": 3, "r": 32}
|
|
|
|
],
|
|
|
|
"backgroundColor": "#00ff00",
|
|
|
|
"borderColor": "transparent",
|
|
|
|
"borderWidth": 0
|
|
|
|
}, {
|
|
|
|
"data": [
|
|
|
|
{"x": 0, "y": 2, "r": 0},
|
|
|
|
{"x": 1, "y": 2, "r": 2},
|
|
|
|
{"x": 2, "y": 2, "r": 4},
|
|
|
|
{"x": 3, "y": 2, "r": 8},
|
|
|
|
{"x": 4, "y": 2, "r": 16},
|
|
|
|
{"x": 5, "y": 2, "r": 32}
|
|
|
|
],
|
|
|
|
"backgroundColor": "transparent",
|
|
|
|
"borderColor": "#0000ff",
|
|
|
|
"borderWidth": 1
|
|
|
|
}, {
|
|
|
|
"data": [
|
|
|
|
{"x": 0, "y": 1, "r": 0},
|
|
|
|
{"x": 1, "y": 1, "r": 2},
|
|
|
|
{"x": 2, "y": 1, "r": 4},
|
|
|
|
{"x": 3, "y": 1, "r": 8},
|
|
|
|
{"x": 4, "y": 1, "r": 16},
|
|
|
|
{"x": 5, "y": 1, "r": 32}
|
|
|
|
],
|
|
|
|
"backgroundColor": "#00ff00",
|
|
|
|
"borderColor": "#0000ff",
|
|
|
|
"borderWidth": 2
|
|
|
|
}]
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"responsive": false,
|
|
|
|
"elements": {
|
|
|
|
"point": {
|
|
|
|
"pointStyle": "cross"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"layout": {
|
|
|
|
"padding": 40
|
|
|
|
},
|
|
|
|
"scales": {
|
2019-11-22 00:46:49 +01:00
|
|
|
"x": {"display": false},
|
|
|
|
"y": {"display": false}
|
2018-07-09 21:14:25 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"options": {
|
|
|
|
"canvas": {
|
|
|
|
"height": 256,
|
|
|
|
"width": 512
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|