Chart::Clicker::Data::Series
Chart::Clicker::Data::Series is the core class
use Chart::Clicker::Data::Series; my @keys = (1, 2, 3, 4, 5, 6, 7, 8, 9, 10); my @values = (42, 25, 86, 23, 2, 19, 103, 12, 54, 9); my $series = new Chart::Clicker::Data::Series({ keys => \@keys, value => \@values });
Creates a new, empty Series
Set/Get the name for this Series
Set/Get the keys for this series.
Set/Get the values for this series.
Prepare this series. Performs various checks and calculates various things.
Returns the range for this series.
Returns the length of the longest key in this series.
Return a count of the number of keys in this series. Only available after the series has been prepared.
Return a count of the number of values in this series. Only available after the series has been prepared.
Cory 'G' Watson <jheephat@cpan.org>
You can redistribute and/or modify this code under the same terms as Perl itself.
To install Chart::Clicker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::Clicker
CPAN shell
perl -MCPAN -e shell install Chart::Clicker
For more information on module installation, please visit the detailed CPAN module installation guide.