Tk-Chart
view release on metacpan or search on metacpan
lib/Tk/Chart/FAQ.pod view on Meta::CPAN
B<NB:> The graph have a minimum size (by default 400x400). Then if you want to reduce this size, configure
-width and -height option at the creation of the graph.
=head2 How to save graph in postscript, jpeg, png, gif format file ?
You can use the postscript method canvas (see L<Tk::Canvas>) to create postscript file of your image.
$chart->postscript( -file => "MyFile.ps");
If you want to convert it in gif, jpeg format file for example, you can install L<Image::Magick> module
and Ghostscript (L<http://pages.cs.wisc.edu/~ghost/>).
Example code for postscript file conversion:
use Image::Magick;
my $image_magick = new Image::Magick;
$image_magick->Read("MyFile.ps");
$image_magick->Write("MyFile.png");
=head2 How to zoom the graph in canvas widget ?
To zoom your graph, use zoom, zoomx or zoomy methods. You can create a menu zoom on the canvas.
You have an example code in L<Tk::Chart::Lines/EXAMPLES>
=head2 Warning or fatal error messages
( run in 0.804 second using v1.01-cache-2.11-cpan-beeb90c9504 )