NAME
Chart::Clicker::Data::Series
DESCRIPTION
Chart::Clicker::Data::Series is the core class
SYNOPSIS
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
});
METHODS
Constructors
- new
-
Creates a new, empty Series
- name
-
Set/Get the name for this Series
- keys
-
Set/Get the keys for this series.
- values
-
Set/Get the values for this series.
- prepare
-
Prepare this series. Performs various checks and calculates various things.
- range
-
Returns the range for this series.
- length
-
Returns the length of the longest key in this series.
- key_count
-
Return a count of the number of keys in this series. Only available after the series has been prepared.
- count
-
Return a count of the number of values in this series. Only available after the series has been prepared.
AUTHOR
Cory 'G' Watson <jheephat@cpan.org>
LICENSE
You can redistribute and/or modify this code under the same terms as Perl itself.