Chart::Clicker::Data::Range
Chart::Clicker::Data::Range implements a range of values.
use Chart::Clicker::Data::Range; my $range = new Chart::Clicker::Data::Range({ lower => 1, upper => 10 });
Creates a new, empty Series
Set/Get the lower bound for this Range
Set/Get the upper bound for this Range
Returns the span of this range, or UPPER - LOWER.
Combine this range with the specified so that this range encompasses the values specified.
my $values = $range->divvy(5);
Returns an arrayref of $N - 1 values equally spaced in the range so that it may be divided into $N pieces.
Cory 'G' Watson <jheephat@cpan.org>
You can redistribute and/or modify this code under the same terms as Perl itself.
To install Chart::Clicker, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Chart::Clicker
CPAN shell
perl -MCPAN -e shell install Chart::Clicker
For more information on module installation, please visit the detailed CPAN module installation guide.