Claes Jakobsson > VS-Chart > VS::Chart::RowIterator

Download:
VS-Chart-0.08.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  1
Open  1
View Bugs
Report a bug
Source  

NAME ^

VS::Chart::RowIterator - Iterator for fetching X axis values

INTERFACE ^

CLASS METHODS

new ( VALUES )

Creates a new iterator for the array reference VALUES.

INSTANCE METHODS

min

Returns the minumum value for the axis.

max

Returns the maximum value for the axis.

rows

Returns the number of items for the axis.

next

Fetches the next item from the iterator and returns its row index.

value

Returns the value of the current row.

relative

Returns the relative value of the current row. This value is the offset (0 to 1) between min and max.

reset

Resets the iterator to start from the beginning again.