From 5b02ca0e84208718912de3d1d73791f253251023 Mon Sep 17 00:00:00 2001 From: mattf Date: Tue, 28 Feb 2017 11:59:56 +0000 Subject: [PATCH] Fixed problem with chart button option not present in options.php git-svn-id: svn://192.168.202.10@2690 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/vicidial/chart_button.php | 7 ++----- www/vicidial/horizontalbargraph.css | 6 ++++++ 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/www/vicidial/chart_button.php b/www/vicidial/chart_button.php index 8c1bd9c4..fd39b10f 100644 --- a/www/vicidial/chart_button.php +++ b/www/vicidial/chart_button.php @@ -8,11 +8,8 @@ if (file_exists('options.php')) require('options.php'); $init_height=$graph_canvas_size; # Chart has a minimum height/width of 600 by default } -else - { - $init_height=600; - } - +if (strlen($init_height)<2) + {$init_height=600;} if(mysqli_num_rows($color_rslt) > 0) { $color_row=mysqli_fetch_array($color_rslt); diff --git a/www/vicidial/horizontalbargraph.css b/www/vicidial/horizontalbargraph.css index 2bc8c4b1..1209a483 100644 --- a/www/vicidial/horizontalbargraph.css +++ b/www/vicidial/horizontalbargraph.css @@ -116,3 +116,9 @@ caption { white-space:nowrap; font-weight: bold; } +.overlap_barGraph li.p3{ + background: #666 url(images/bar_green.png) repeat-x top right; + color: #FFF; + white-space:nowrap; + font-weight: bold; +}