Dart Documentationorson_chartsStandardCategoryDataset3D

StandardCategoryDataset3D class

A standard dataset implementation for use with the CategoryPlot3D class.

Extends

AbstractDataset3D > StandardCategoryDataset3D

Implements

CategoryDataset3D

Constructors

new StandardCategoryDataset3D() #

Creates a new (empty) dataset.

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

void addChangeListener(Dataset3DChangeListener listener) #

inherited from AbstractDataset3D

Registers a listener so that it will receive notification of changes to the dataset.

void addSeriesAsRow(Comparable seriesKey, Comparable rowKey, KeyedValues<num> series) #

Adds a list of (key, value) pairs (referred to here as a data series) to one row of the dataset. This is a convenience method to make it simpler to create a dataset for a common class of charts (for example, a bar chart where each row contains one data series).

void addValue(num value, Comparable seriesKey, Comparable rowKey, Comparable columnKey) #

A synonym for setValue(value, seriesKey, rowKey, columnKey).

void fireDatasetChanged() #

inherited from AbstractDataset3D

Sends a Dataset3DChangeEvent to all registered listeners.

int getColumnIndex(Comparable columnKey) #

Returns the index of the column with the specified columnKey, or -1.

docs inherited from KeyedValues3D<num>

Comparable getColumnKey(int columnIndex) #

Returns the key for the column with the specified columnIndex.

docs inherited from KeyedValues3D<num>

int getRowIndex(Comparable rowKey) #

Returns the index of the row with the specified rowKey, or -1.

docs inherited from KeyedValues3D<num>

Comparable getRowKey(int rowIndex) #

Returns the key for the row with the specified rowIndex.

docs inherited from KeyedValues3D<num>

int getSeriesIndex(Comparable seriesKey) #

Returns the index of the series with the specified seriesKey, or -1.

docs inherited from KeyedValues3D<num>

Comparable getSeriesKey(int seriesIndex) #

Returns the key for the series with the specified seriesIndex.

docs inherited from KeyedValues3D<num>

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

Returns the value in the cell identified by seriesKey, rowKey and columnKey.

docs inherited from KeyedValues3D<num>

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

Returns the value at the cell identified by seriesIndex, rowIndex and columnIndex.

docs inherited from Values3D<T>

void removeChangeListener(Dataset3DChangeListener listener) #

inherited from AbstractDataset3D

Deregisters a listener so that it will no longer receive notification of changes to the dataset.

void setValue(num value, Comparable seriesKey, Comparable rowKey, Comparable columnKey) #

Sets the value of the cell identified by seriesKey, rowKey and columnKey and sends a Dataset3DChangeEvent to all registered listeners. If required, a new series, column and/or row will be added to the dataset (with other cells in the series, column and/or row being populated by null values).