Public Member Functions | |
| XYZSeries (String name) | |
| Constructs a new xy-series that contains no data. | |
| int | getItemCount () |
| Returns the number of items in the series. | |
| List | getItems () |
| Returns the list of data items for the series (the list contains XYZDataItem objects and is unmodifiable). | |
| void | add (double x, double y, double z) |
| Adds a data item to the series. | |
| void | add (Number x, Number y, Number z) |
| Adds a data item to the series. | |
| XYZDataItem | getDataItem (int index) |
| Return the data item with the specified index. | |
| Number | getXValue (int index) |
| Returns the x-value at the specified index. | |
| Number | getYValue (int index) |
| Returns the y-value at the specified index. | |
| Number | getZValue (int index) |
| Returns the z-value at the specified index. | |
| void | setZValue (int index, Number z) |
| Sets the z value at the specified index. | |
Protected Attributes | |
| List | data |
| Storage for the data items in the series. | |
Modified from JFreeChart.
Title: Data Visualizer
Description:
Copyright: Copyright (c) Charles D. Canham 2003
Company: Institute of Ecosystem Studies
| datavisualizer::XYZSeries::XYZSeries | ( | String | name | ) | [inline] |
Constructs a new xy-series that contains no data.
| name | the series name. |
| void datavisualizer::XYZSeries::add | ( | Number | x, | |
| Number | y, | |||
| Number | z | |||
| ) | [inline] |
Adds a data item to the series.
| x | the x value. | |
| y | the y value. | |
| z | the z value. This can be null. |
| void datavisualizer::XYZSeries::add | ( | double | x, | |
| double | y, | |||
| double | z | |||
| ) | [inline] |
Adds a data item to the series.
| x | the x value. | |
| y | the y value. | |
| z | the z value. |
| XYZDataItem datavisualizer::XYZSeries::getDataItem | ( | int | index | ) | [inline] |
Return the data item with the specified index.
| index | The index. |
| int datavisualizer::XYZSeries::getItemCount | ( | ) | [inline] |
Returns the number of items in the series.
| List datavisualizer::XYZSeries::getItems | ( | ) | [inline] |
Returns the list of data items for the series (the list contains XYZDataItem objects and is unmodifiable).
| Number datavisualizer::XYZSeries::getXValue | ( | int | index | ) | [inline] |
Returns the x-value at the specified index.
| index | The index. |
| Number datavisualizer::XYZSeries::getYValue | ( | int | index | ) | [inline] |
Returns the y-value at the specified index.
| index | The index. |
| Number datavisualizer::XYZSeries::getZValue | ( | int | index | ) | [inline] |
Returns the z-value at the specified index.
| index | The index. |
| void datavisualizer::XYZSeries::setZValue | ( | int | index, | |
| Number | z | |||
| ) | [inline] |
Sets the z value at the specified index.
| index | int Index. | |
| z | Number Z value. |
1.4.7