View on
MetaCPAN is shutting down
For details read Perl NOC. After June 25th this page will redirect to
Dr Bean > Tk-ForDummies-Graph-1.11 > Tk::ForDummies::Graph



Annotate this POD

View/Report Bugs
Module Version: 1.11   Source   Latest Release: Tk-ForDummies-Graph-1.14


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


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


Tk::ForDummies::Graph is a module to create and display graphs 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 graphs. 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, pie or its entry in the legend, its entry will be turned 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 graph. With this module it is possible to plot quantitative variables according to qualitative variables.

Tk::ForDummies::Graph::Splines, To create lines graph as Bézier curve.

Tk::ForDummies::Graph::Areas, Extension of Canvas widget to create an area lines graph.

Tk::ForDummies::Graph::Bars, Extension of Canvas widget to create bars graph with vertical bars.

Tk::ForDummies::Graph::Pie, Extension of Canvas widget to create a pie graph.

Tk::ForDummies::Graph::Mixed, Extension of Canvas widget to create a graph mixed with lines, lines points, splines, bars, points and areas.

Tk::ForDummies::Graph::Boxplots, Extension of Canvas widget to create boxplots graph.


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


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


Djibril Ousmanou, <djibel at>


Please report any bugs or feature requests to bug-tk-fordummies-graph at, or through the web interface at I will be notified, and then you'll automatically be notified of progress on your bug as I make changes.


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

    perldoc Tk::ForDummies::Graph
    perldoc Tk::ForDummies::Graph::Lines
    perldoc Tk::ForDummies::Graph::Splines
    perldoc Tk::ForDummies::Graph::Points
    perldoc Tk::ForDummies::Graph::Bars
    perldoc Tk::ForDummies::Graph::Areas
    perldoc Tk::ForDummies::Graph::Mixed
    perldoc Tk::ForDummies::Graph::Pie
    perldoc Tk::ForDummies::Graph::FAQ
    perldoc Tk::ForDummies::Graph::Boxplots

You can also look for information at:


Copyright 2010 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.

syntax highlighting: