NAME

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

VERSION

version 2.90

SYNOPSIS

use Chart::Clicker::Data::Series::Size;

my @keys = ();
my @values = ();
my @sizes = ();

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

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.

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

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>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Cory G Watson.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.