From c4d774e8d715b7dca04e45bd7dae97d67f31cfe6 Mon Sep 17 00:00:00 2001 From: Louis Bailleul Date: Tue, 24 Nov 2015 16:44:49 +0000 Subject: [PATCH] Add more padding to accomodate row of graphs that have large y-axis text Slightly reduced the height of rows of graphs --- html/includes/print-graphrow.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/includes/print-graphrow.inc.php b/html/includes/print-graphrow.inc.php index 5f8768e240..9fe0cc8565 100644 --- a/html/includes/print-graphrow.inc.php +++ b/html/includes/print-graphrow.inc.php @@ -39,7 +39,7 @@ else { if($_SESSION['screen_width']) { if($_SESSION['screen_width'] > 800) { - $graph_array['width'] = ($_SESSION['screen_width'] - 400 )/count($periods)+1; + $graph_array['width'] = ($_SESSION['screen_width'] - 430 )/count($periods)+1; } else { $graph_array['width'] = $_SESSION['screen_width'] - 155; @@ -48,7 +48,7 @@ if($_SESSION['screen_width']) { if($_SESSION['screen_height']) { if($_SESSION['screen_width'] > 960) { - $graph_array['height'] = ($_SESSION['screen_height'] - 250)/4; + $graph_array['height'] = ($_SESSION['screen_height'] - 250)/5; } else { $graph_array['height'] = ($_SESSION['screen_height'] - 250)/2;