The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

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

count

Return a count of the number of values in this series. Only available after the series has been prepared.

errors

Set/Get the errors for this series.

key_count

Return a count of the number of keys in this series. Only available after the series has been prepared.

keys

Set/Get the keys for this series.

name

Set/Get the name for this Series

numeric_keys

Set/Get the flag that denotes if this series' keys are all numeric.

prepare

Prepare this series. Performs various checks and calculates various things.

range

Returns the range for 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.