Imager::Graph::Horizontal - A super class for line/bar charts
This is a base class that implements base functionality for line and bar charts.
The sub-classes, Imager::Graph::Bar and Imager::Graph::Line simply provide default data series types.
Add a data series to the graph, of the default type.
Add a bar data series to the graph.
Add a line data series to the graph.
Sets the number of pixels that should go between columns of data.
Sets the background color or fill used below the y axis.
Draw the graph
Shows vertical gridlines at the y-tics.
Feature: vertical_gridlines
Set the color and style of the lines drawn for gridlines.
Style equivalent: vgrid
Feature: linemarkers.
If $value is missing or true, draw markers on a line data series.
Note: line markers are drawn by default.
Automatically scale the Y axis, based on Chart::Math::Axis. If Chart::Math::Axis isn't installed, this sets an error and returns undef. Returns 1 if it is installed.
Set the number of X tics to use. Their value and position will be determined by the data range.
Patrick Michaud, Tony Cook
To install Imager::Graph, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Imager::Graph
CPAN shell
perl -MCPAN -e shell install Imager::Graph
For more information on module installation, please visit the detailed CPAN module installation guide.