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

  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.

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 16:

=over without closing =back

Around line 554:

=over without closing =back