Dart Documentationorson_chartsXYZSeries

XYZSeries class

Stores a series of (x, y, z) items. Multiple XYZSeries instances can be added to an XYZSeriesCollection to create a dataset that implements the XYZDataset interface (and can, therefore, be used with an XYZPlot).

Constructors

new XYZSeries(Comparable key) #

Creates a new (empty) series with the specified key.

Properties

final int itemCount #

Returns the number of items in the series.

final Comparable key #

Returns the key for the series (as supplied to the constructor).

Methods

void add(num x, num y, num z) #

Adds a new ( x, y, z) item to the series.

void addItem(XYZDataItem item) #

Adds an item to the series.

num getXValue(int itemIndex) #

Returns the x-value for the item at the specified itemIndex.

num getYValue(int itemIndex) #

Returns the y-value for the item at the specified itemIndex.

num getZValue(int itemIndex) #

Returns the z-value for the item at the specified itemIndex.