Chart::Clicker::Data::Series::Size.3pm

Langue: en

Version: 2010-05-04 (ubuntu - 24/10/10)

Section: 3 (Bibliothèques de fonctions)

NAME

Chart::Clicker::Data::Series::Size - Chart data with additional attributes for Size charts

DESCRIPTION

Chart::Clicker::Data::Series::Size is an extension of the Series class that provides storage for a third variable called the size. This is useful for the Bubble renderer.

SYNOPSIS

   use Chart::Clicker::Data::Series::Size;
 
   my $series = Chart::Clicker::Data::Series::Size->new({
     keys    => \@keys,
     values  => \@values,
     sizes   => \@sized
   });
 
 

ATTRIBUTES

sizes

Set/Get the sizes for this series.

max_size

Gets the largest value from this Series' "sizes".

min_size

Gets the smallest value from this Series' "sizes".

METHODS

new

Creates a new, empty Series::Size

add_to_sizes

Adds a size to this series.

get_size

Get a size by it's index.

size_count

Gets the count of sizes in this series.

AUTHOR

Cory G Watson <gphat@cpan.org>

LICENSE

You can redistribute and/or modify this code under the same terms as Perl itself.

1;