Dart Documentationorson_chartsDefaultKeyedValues3D<T>

DefaultKeyedValues3D<T> class

A three dimensional table of (key, value) pairs. Each item is indexed by series, row and column.

Implements

KeyedValues3D<T>

Constructors

new DefaultKeyedValues3D() #

Creates a new empty table.

Properties

final int columnCount #

Returns the number of columns in the dataset.

final List<Comparable> columnKeys #

Returns a list of all column keys.

final int rowCount #

Returns the number of rows in the dataset.

final List<Comparable> rowKeys #

Returns a list of all row keys.

final int seriesCount #

Returns the number of series in the dataset.

final List<Comparable> seriesKeys #

Returns a list of all series keys.

Methods

int getColumnIndex(Comparable columnKey) #

Returns the index of the column with the specified columnKey.

Comparable getColumnKey(int columnIndex) #

Returns the key for the column with the specified columnIndex.

int getRowIndex(Comparable rowKey) #

Returns the index of the row with the specified rowKey.

Comparable getRowKey(int rowIndex) #

Returns the key for the row with the specified rowIndex.

int getSeriesIndex(Comparable seriesKey) #

Returns the index of the series with the specified seriesKey.

Comparable getSeriesKey(int seriesIndex) #

Returns the key for the series with the specified seriesIndex.

T getValue(Comparable seriesKey, Comparable rowKey, Comparable columnKey) #

Returns a value from one cell in teh table.

T getValueByIndex(int seriesIndex, int rowIndex, int columnIndex) #

Returns a value from one cell in the table.

void setValue(T n, Comparable seriesKey, Comparable rowKey, Comparable columnKey) #

Sets a value in the table.