...GD::Graph and GD::Text? Hi
I am trying to draw graphs in the form of .png file using modules Chart::StackedBars,, GD::Text, GD::Graph etc.
The way I am doing it is :
my($graph) = Chart::StackedBars->new(2000,1200);
.....
......
$graph->set('Bars',\@status_array_);
$graph->set('legend_labels'=>\@legends);
$graph->set('x_label' => "workweek");
$graph->set('y_label' => "turnins");
.....
..........
And I am getting desired output .png file with proper x level, y level name.
Now I want to increase the font size of x_level, y_level etc.
For that what I am writing is:
my %hash1 = ('title_font'=> GD::Font -> Large );
$graph->set(%hash1);
But this is not making any difference to the output.png file.
Pls tell me how to increase the font size???
Thanks a lot in advance!!!
I am trying to draw graphs in the form of .png file using modules Chart::StackedBars,, GD::Text, GD::Graph etc.
The way I am doing it is :
my($graph) = Chart::StackedBars->new(2000,1200);
.....
......
$graph->set('Bars',\@status_array_);
$graph->set('legend_labels'=>\@legends);
$graph->set('x_label' => "workweek");
$graph->set('y_label' => "turnins");
.....
..........
And I am getting desired output .png file with proper x level, y level name.
Now I want to increase the font size of x_level, y_level etc.
For that what I am writing is:
my %hash1 = ('title_font'=> GD::Font -> Large );
$graph->set(%hash1);
But this is not making any difference to the output.png file.
Pls tell me how to increase the font size???
Thanks a lot in advance!!!