The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Tk::ForDummies::Graph - Extension of Canvas widget to create a graph like GDGraph.

SYNOPSIS

use Tk::ForDummies::Graph::ModuleName;

DESCRIPTION

Tk::ForDummies::Graph is a module to create and display charts on a Tk widget. The module is written entirely in Perl/Tk.

You can change the color, font of title, labels (x and y) of charts. You can set an interactive legend. The axes can be automatically scaled or set by the code.

When the mouse cursor passes over a plotted line, bars ou pie or its entry in the legend, its entry will be turn to a color to help identify it.

You can use 3 methods to zoom (vertically, horizontally or both).

Tk::ForDummies::Graph::Lines

    Extension of Canvas widget to create lines chart. 
    With this module it is possible to plot quantitative variables according to qualitative variables.

Tk::ForDummies::Graph::Areas

    Extension of Canvas widget to create a area lines chart. 

Tk::ForDummies::Graph::Bars

    Extension of Canvas widget to create bars chart with vertical bars.

Tk::ForDummies::Graph::Pie

    Extension of Canvas widget to create a pie chart. 

EXAMPLES

See the samples directory in the distribution, and read documentations for each modules Tk::ForDummies::Graph::ModuleName.

SEE ALSO

See GD::Graph, Tk::Graph, Tk::LineGraph, Tk::PlotDataset, Chart::Plot::Canvas.

AUTHOR

Djibril Ousmanou, <djibrilo at yahoo.fr>

BUGS

Please report any bugs or feature requests to bug-tk-fordummies-graph at rt.cpan.org, or through the web interface at http://rt.cpan.org/NoAuth/ReportBug.html?Queue=Tk-ForDummies-Graph. I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.

SUPPORT

You can find documentation for this module with the perldoc command.

    perldoc Tk::ForDummies::Graph
    perldoc Tk::ForDummies::Graph::Lines
    perldoc Tk::ForDummies::Graph::Bars
    perldoc Tk::ForDummies::Graph::Areas
    perldoc Tk::ForDummies::Graph::Pie

You can also look for information at:

COPYRIGHT & LICENSE

Copyright 2009 Djibril Ousmanou, all rights reserved.

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.