Re: help with GD module
- From: "J. Gleixner" <glex_no-spam@xxxxxxxxxxxxxxxxxxxxx>
- Date: Mon, 02 Mar 2009 10:42:14 -0600
abcd wrote:
use GD::Graph::bars;
my @data = (
['frogs','fish','toads','rodents'],
[ 8, 3, 1, 2],
);
my $chart = GD::Graph::bars->new(700,500);
$chart->set(title => 'Ostrich diet');
$chart->set_title_font('arialbd', 24);
$chart->set_x_axis_font('arial', 16);
$chart->set_y_axis_font('arial', 16);
my $gd_object = $chart->plot(\@data);
but don't work, only open a cmd windown a nothing else!
Why would you expect it to display the image?
how I can create a window with graphics?
Use the Tk module or save it as a file and use a browser or some
other application, such as a browser, to display it.
.
- References:
- help with GD module
- From: abcd
- help with GD module
- Prev by Date: Re: Net::SSH2 scp_put not working!
- Next by Date: Re: list context of cgi param problem in hash initialization
- Previous by thread: Re: help with GD module
- Next by thread: Re: Net::SSH2 scp_put not working!
- Index(es):
Relevant Pages
|