make chart stacked

This commit is contained in:
Dennis Eichhorn 2023-09-17 17:46:15 +00:00
parent d745fae478
commit 7e53dc7533

View File

@ -192,7 +192,8 @@ echo $this->data['nav']->render(); ?>
"scales": {
"x": {
"id": "axis-1",
"display": true
"display": true,
"stacked": true
},
"y": {
"id": "axis-2",
@ -201,7 +202,8 @@ echo $this->data['nav']->render(); ?>
"beginAtZero": true,
"ticks": {
"stepSize": 1
}
},
"stacked": true
}
}
}