- COPYRIGHT AND LICENSE
Hypatia::Chart::Clicker::Line - Line Charts with Hypatia and Chart::Clicker
This module extends Hypatia::Chart::Clicker. The
graph method (also known as the
chart method) returns the
Chart::Clicker object built from the relevant data and options provided.
The required column types are
y. Each of the values for this attribute may be either a string (indicating one column) or an array reference of strings (indicating several columns). In the latter case, the number of
y columns must match and each respective
y column will form its own line graph. In the former case, the single
x column will act as the same
x column for all of the
columns attribute is not set, then column guessing is used as needed via the algorithm described in Hypatia::Chart::Clicker::Role::XY.
A boolean value indicating whether or not the graph should be a stacked line graph (ie whether or not the y values should be treated cumulatively). This is disabled by default.
chart([$data]), a.k.a graph([$data])
This method returns the relevant Chart::Clicker object. If neither the
dbi nor the
input_data attributes have been set, then you can input your data as an argument here.
Jack Maney <email@example.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2012 by Jack Maney.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.