[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.8-58-gefb51ca

Emannuel Lacour elacour at bestpractical.com
Thu May 20 08:50:00 EDT 2010


The branch, 3.8-trunk has been updated
       via  efb51ca451d02506fd4a8ce623baa0c52e5934e4 (commit)
      from  16391db0bc59397ad4735985446cec74315791f2 (commit)

Summary of changes:
 share/html/Search/Chart |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

- Log -----------------------------------------------------------------
commit efb51ca451d02506fd4a8ce623baa0c52e5934e4
Author: Emmanuel Lacour <elacour at home-dn.net>
Date:   Thu May 20 14:49:09 2010 +0200

    Fix truncated top values in Chart display (closes: #14881)
    
        * use a top margin enough to display values over the top line if needed

diff --git a/share/html/Search/Chart b/share/html/Search/Chart
index abee3e5..e6e6848 100644
--- a/share/html/Search/Chart
+++ b/share/html/Search/Chart
@@ -155,6 +155,8 @@ if ($chart_class eq "GD::Graph::bars") {
         x_label_position => 0.6,
         y_label_position => 0.6,
         values_space => -1,
+# use a top margin enough to display values over the top line if needed
+        t_margin => 18,
 # the following line to make sure there's enough space for values to show
         y_max_value => 5*(int($max_value/5) + 2),
 # if there're too many bars or at least one key is too long, use vertical

-----------------------------------------------------------------------


More information about the Rt-commit mailing list