From 0fe367820f94b7e526481f23aa40ee9e159ff3c7 Mon Sep 17 00:00:00 2001 From: Uwe Steinmann Date: Tue, 18 Feb 2025 21:20:59 +0100 Subject: [PATCH] turn off legend for chart sizepermonth --- views/bootstrap/class.Charts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/views/bootstrap/class.Charts.php b/views/bootstrap/class.Charts.php index 549c94c23..da627df17 100644 --- a/views/bootstrap/class.Charts.php +++ b/views/bootstrap/class.Charts.php @@ -273,7 +273,7 @@ $(document).ready( function() { $this->contentContainerEnd(); $this->columnEnd(); - if(in_array($type, array('docspermonth', 'docsaccumulated'))) { + if(in_array($type, array('sizepermonth', 'docspermonth', 'docsaccumulated'))) { $this->columnStart(9); } else { $this->columnStart(6); @@ -354,7 +354,7 @@ $(document).ready( function() { echo ""; $this->columnEnd(); - if(!in_array($type, array('docspermonth', 'docsaccumulated'))) { + if(!in_array($type, array('sizepermonth', 'docspermonth', 'docsaccumulated'))) { $this->columnStart(3); $this->contentHeading(getMLText('legend')); $this->contentContainerStart('', 'legend');