The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

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.