[Bps-public-commit] r10977 - RT-Extension-Reports/html/Reports/Elements
sunnavy at bestpractical.com
sunnavy at bestpractical.com
Mon Mar 3 04:31:08 EST 2008
Author: sunnavy
Date: Mon Mar 3 04:31:07 2008
New Revision: 10977
Modified:
RT-Extension-Reports/html/Reports/Elements/ShowResults
Log:
add legend for charts
Modified: RT-Extension-Reports/html/Reports/Elements/ShowResults
==============================================================================
--- RT-Extension-Reports/html/Reports/Elements/ShowResults (original)
+++ RT-Extension-Reports/html/Reports/Elements/ShowResults Mon Mar 3 04:31:07 2008
@@ -85,6 +85,7 @@
$r->content_type( 'image/png' );
require GD::Graph::bars;
my $graph = GD::Graph::bars->new( 800, 600 );
+ $graph->set_legend(@$Headers[1 .. $#$Headers]);
my @data;
for ( my $i = 0; $i < @$Results; $i++ ) {
More information about the Bps-public-commit
mailing list