poss has asked for the wisdom of the Perl Monks concerning the following question:
I have a perl script using CGI to create a stacked Bar graph. I am plotting Build Times and Kitting times per platform.
my data plot looks like.
@data2 = (['Windows', 'Linux', 'Solaris'], [150,250,350], [100,200,300]);
@data2 = (['Windows', 'Linux', 'Solaris'], [100,200,300], [150,250,350]);
my $graph = new GD::Graph::bars(900,600); $graph->set( x_label => $x_Label, x_label_position => 1/4, x_label_vertical => 1, y_label => 'Minutes', y_max_value => 300, y_tick_number => 10, title => $Graph_Title, bar_width => 35, cumulate => 1, dclrs => ['lblue', 'cyan'], bgclr => 'white', fgclr => 'lred', values_vertical => 0, valuesclr => 'black', accentclr => 'red', shadowclr => '#F7E7CE', shadow_depth => 0, legendclr => 'blue', show_values => 1);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: perl bar graph
by roboticus (Chancellor) on Feb 27, 2015 at 17:16 UTC | |
by poss (Initiate) on Feb 27, 2015 at 18:33 UTC | |
by roboticus (Chancellor) on Mar 02, 2015 at 20:25 UTC | |
by poss (Initiate) on Mar 02, 2015 at 22:04 UTC | |
by roboticus (Chancellor) on Mar 02, 2015 at 22:15 UTC | |
|
Re: perl bar graph
by poj (Abbot) on Feb 27, 2015 at 17:54 UTC |