NAME

VS::Chart::Dataset - Carries data to be displayed in chart

INTERFACE

CLASS METHODS

new

Creates a new instance.

INSTANCE METHODS

data

Returns an array reference of all data in the dataset.

max

Returns the maximum value in the dataset.

min

Returns the minimum value in the dataset.

length

Returns the number of items in the dataset.

insert ( INDEX, VALUE )

Sets the contents of the row INDEX to VALUE. Rows start at 0.

value ( INDEX )

Returns the value at row INDEX. Rows start at 0.

set ( %ATTRIBUTE )

Sets attributes on the dataset such as color.

get ( ATTRIBUTE )

Returns the value for the requested attribute.