Google::Chart::Data - Google::Chart Data
use Google::Chart::Data; # simple, text encoding Google::Chart::Data->new( [ 1.0, 2.0, undef, 50.0, -1, 100.0 ] ); # Explicity encoding specification, with legend Google::Chart::Data->new( encoding => Google::Chart::Encoding::Extended->new( max_value => 150, ), data => [ Google::Chart::DataSet->new( legend => "Data set 1", data => [ 1.0, 2.0, undef, 50.0, -1, 100.0 ] ), Google::Chart::DataSet->new( legend => "Data set 2", data => [ 1, 400, 500, 100] ) ] );
To install Google::Chart, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Google::Chart
CPAN shell
perl -MCPAN -e shell install Google::Chart
For more information on module installation, please visit the detailed CPAN module installation guide.