Dart Documentationorson_chartsStandardPieDataset

StandardPieDataset class

A standard implementation of a dataset for use with the PiePlot3D class.

Extends

AbstractDataset3D > StandardPieDataset

Implements

PieDataset

Constructors

new StandardPieDataset() #

Creates a new empty dataset.

Properties

final int itemCount #

Returns the number of items.

docs inherited from Values<T>

final List<Comparable> keys #

Returns a new list containing all the keys in the list.

docs inherited from KeyedValues<num>

Methods

void add(Comparable key, num value) #

Adds an item to the dataset (if there is already an item with the specified key, then the value for that key is updated).

void addChangeListener(Dataset3DChangeListener listener) #

inherited from AbstractDataset3D

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

void fireDatasetChanged() #

inherited from AbstractDataset3D

Sends a Dataset3DChangeEvent to all registered listeners.

int getIndex(Comparable key) #

Returns the index for the specified key, or -1.

docs inherited from KeyedValues<num>

Comparable getKey(int index) #

Returns the key for the item with the specified index.

docs inherited from KeyedValues<num>

num getValue(Comparable key) #

Returns the value (possibly null) associated with the specified key.

num getValueByIndex(int index) #

Returns the value for the item with the specified index.

docs inherited from Values<T>

void removeChangeListener(Dataset3DChangeListener listener) #

inherited from AbstractDataset3D

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