[Jifty-commit] r5812 - in jifty/trunk: lib/Jifty/Plugin/Chart/Renderer
Jifty commits
jifty-commit at lists.jifty.org
Mon Sep 8 15:25:45 EDT 2008
Author: sartak
Date: Mon Sep 8 15:25:41 2008
New Revision: 5812
Modified:
jifty/trunk/ (props changed)
jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/Google.pm
Log:
r71136 at onn: sartak | 2008-09-08 15:25:27 -0400
We do need to duplicate the min/max values for the rest of the datasets
Modified: jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/Google.pm
==============================================================================
--- jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/Google.pm (original)
+++ jifty/trunk/lib/Jifty/Plugin/Chart/Renderer/Google.pm Mon Sep 8 15:25:41 2008
@@ -200,8 +200,8 @@
my @max = map { $_ - $args{'max_plus'} } @{ $args{'max_value'} };
# repeat if necessary
- #push @min, ($min[-1]) x (@data - @min);
- #push @max, ($max[-1]) x (@data - @max);
+ push @min, ($min[-1]) x (@{ $args{'data'} } - @min);
+ push @max, ($max[-1]) x (@{ $args{'data'} } - @max);
$args{'calculated_min'} = \@min;
$args{'calculated_max'} = \@max;
More information about the Jifty-commit
mailing list