NAME
Chart::Clicker::Data::Series
DESCRIPTION
Chart::Clicker::Data::Series represents a series of values to be charted.
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 = Chart::Clicker::Data::Series->new({
keys => \@keys,
value => \@values
});
METHODS
Constructor
- new
-
Creates a new, empty Series
Instance Methods
- add_to_keys
-
Adds a key to this series.
- add_to_values
-
Add a value to this series.
- keys
-
Set/Get the keys for this series.
- key_count
-
Get the count of keys in this series.
- name
-
Set/Get the name for this Series
- prepare
-
Prepare this series. Performs various checks and calculates various things.
- range
-
Returns the range for this series.
- value_count
-
Get the count of values in this series.
- values
-
Set/Get the values for this series.
AUTHOR
Cory 'G' Watson <jheephat@cpan.org>
LICENSE
You can redistribute and/or modify this code under the same terms as Perl itself.