Tony Cook > Imager-Graph > Imager::Graph::Horizontal

Download:
Imager-Graph-0.07.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  2
Open  3
View Bugs
Report a bug
Source  

NAME ^

  Imager::Graph::Horizontal - A super class for line/bar charts
add_data_series(\@data, $series_name)

Add a data series to the graph, of the default type.

add_column_data_series(\@data, $series_name)

Add a column data series to the graph.

add_line_data_series(\@data, $series_name)

Add a line data series to the graph.

set_column_padding($int)

Sets the number of pixels that should go between columns of data.

set_negative_background($color)

Sets the background color used below the x axis.

draw()

Draw the graph

show_vertical_gridlines()

Shows vertical gridlines at the y-tics.

use_automatic_axis()

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_x_tics($count)

Set the number of X tics to use. Their value and position will be determined by the data range.