[Rt-commit] rt branch, 3.8-trunk, updated. rt-3.8.7-306-g3e5afef
? sunnavy
sunnavy at bestpractical.com
Tue Mar 30 05:11:52 EDT 2010
The branch, 3.8-trunk has been updated
via 3e5afef13d314cdc29a148eed75bc7339eac3fe9 (commit)
from da90b2fd5b22d2fe6ad22481ecc54b99fd546f1e (commit)
Summary of changes:
share/html/Search/Chart | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
- Log -----------------------------------------------------------------
commit 3e5afef13d314cdc29a148eed75bc7339eac3fe9
Author: sunnavy <sunnavy at bestpractical.com>
Date: Tue Mar 30 15:10:20 2010 +0800
make y_max_value a bit larger
diff --git a/share/html/Search/Chart b/share/html/Search/Chart
index 06d634e..ca33902 100644
--- a/share/html/Search/Chart
+++ b/share/html/Search/Chart
@@ -170,7 +170,7 @@ if ($chart_class eq "GD::Graph::bars") {
y_label_position => 0.6,
values_space => -1,
# the following line to make sure there's enough space for values to show
- y_max_value => 5*(int($max_value/5) + 1),
+ 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
x_labels_vertical => ( keys(%data) * $max_key_length > 60 ) ? 1 : 0,
);
-----------------------------------------------------------------------
More information about the Rt-commit
mailing list