Google::Chart::WithAxis - Charts With Axis
my $chart = Google::Chart->create( ... ); $chart->add_axis( location => 'x', # 'x', 'y', 'r', or 't' # optional parameters alignment => 0, # -1, 0, or 1 color => $hexcolor, # color of this axis font_size => $points, # font size labels => \@labels, # labels for this axis label_positions => \@positions, # posisions range => [ $start, $end ], # range start and end ); # multiple axis can be added $chart->add_axis( ... ); $chart->add_axis( ... ); $chart->add_axis( ... );
Individual Axis objects. You probably shouldn't be touching this.
Hooks to Google::Chart->prepare_query().
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.