Jifty::Plugin::Chart::Renderer::GoogleViz - chart renderer using Google Charts JS
We need to load Google's JS.
Load the "packages" required for the visualization; define a packages_to_load method which returns a list of them.
packages_to_load
Renders the columns and the data.
Adds the columns to the visualization. Each column is a key-value pair; the key is the column's id and the value is either a string (the type) or a hashref. The hashref may specify type and label. If no label is given, the id is used.
id
type
label
It will return a hashref of canonicalized columns.
Adds the data to the chart. Each data point should be a hash reference of column id to value.
To install Jifty::Plugin::Chart, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Jifty::Plugin::Chart
CPAN shell
perl -MCPAN -e shell install Jifty::Plugin::Chart
For more information on module installation, please visit the detailed CPAN module installation guide.