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