Author: spadkins
Date: Mon Jun 22 14:03:11 2009
New Revision: 12882

Modified:
   p5ee/trunk/App-Widget/lib/App/Widget/Graph.pm

Log:
0003384: bar graph: room nights by rate category only shows property, not 
compset rm nts

Modified: p5ee/trunk/App-Widget/lib/App/Widget/Graph.pm
==============================================================================
--- p5ee/trunk/App-Widget/lib/App/Widget/Graph.pm       (original)
+++ p5ee/trunk/App-Widget/lib/App/Widget/Graph.pm       Mon Jun 22 14:03:11 2009
@@ -335,7 +335,9 @@
                     push(@x_new, $x[$vals_sort_idx->[$i]]);
                 }
                 for (my $i = 0; $i <= $#$vals_sort_idx; $i++) {
-                    $yn_new[0][$i] = $yn[0][$vals_sort_idx->[$i]]
+                    for (my $j = 0; $j <= $#$columns; $j++) {
+                        $yn_new[$j][$i] = $yn[$j][$vals_sort_idx->[$i]]
+                    }
                 }
 
                 @x = @x_new;

Reply via email to