From 7e53dc7533c304e1adcb28884489d3203c077b88 Mon Sep 17 00:00:00 2001 From: Dennis Eichhorn Date: Sun, 17 Sep 2023 17:46:15 +0000 Subject: [PATCH] make chart stacked --- Theme/Backend/monitoring-stats.tpl.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Theme/Backend/monitoring-stats.tpl.php b/Theme/Backend/monitoring-stats.tpl.php index 2d3f30c..efa0727 100644 --- a/Theme/Backend/monitoring-stats.tpl.php +++ b/Theme/Backend/monitoring-stats.tpl.php @@ -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 } } }