NAME

Chart::Clicker::Data::Range

DESCRIPTION

Chart::Clicker::Data::Range implements a range of values.

SYNOPSIS

METHODS

Constructors

new({ lower => $LOWER, upper => $UPPER })

Creates a new, empty Series

$lower = $range->lower($lower)

Set/Get the lower bound for this Range

$upper = $range->upper($upper)

Set/Get the upper bound for this Range

$span = $range->span()

Returns the span of this range, or UPPER - LOWER.

$arrayref = $range->combine($lower, $upper)

Combine this range with the specified so that this range encompasses the the values specified.

divvy($N)

Returns an arrayref of $N - 1 values equally spaced in the range so that it may be divided into $N pieces.

AUTHOR

Cory 'G' Watson <jheephat@gmail.com>

SEE ALSO