Hypatia::Chart::Clicker::Pie - Line Charts with Hypatia and Chart::Clicker
version 0.022
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.
graph
chart
Chart::Clicker
The required column types are label and values. Each of these must be a single string.
label
values
If this attribute isn't provided, then column guessing proceeds in the obvious manner: if there are two columns, then the first is of type label and the second of type values, and otherwise an error is thrown.
A boolean value determining whether or not a gradient should be applied to the pie chart. Defaults to 0.
This is a hash reference of red, green, blue, and alpha values that are passed into a Graphics::Color::RGB object (or, if you prefer, you can pass in a Graphics::Color::RGB object directly). The default RGBA values are 1,1,1,0.25, respectively.
red
green
blue
alpha
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.
dbi
input_data
Jack Maney <jack@jackmaney.com>
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.
To install Hypatia::Chart::Clicker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Hypatia::Chart::Clicker
CPAN shell
perl -MCPAN -e shell install Hypatia::Chart::Clicker
For more information on module installation, please visit the detailed CPAN module installation guide.