-
- All Superinterfaces:
Dataset,SeriesDataset<S>,XYDataset<S>
- All Known Subinterfaces:
IntervalXYZDataset<S>
- All Known Implementing Classes:
AbstractXYZDataset,DefaultXYZDataset,MatrixSeriesCollection
public interface XYZDataset<S extends Comparable<S>> extends XYDataset<S>
The interface through which JFreeChart obtains data in the form of (x, y, z) items - used for XY and XYZ plots.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NumbergetZ(int series, int item)Returns the z-value for the specified series and item.doublegetZValue(int series, int item)Returns the z-value (as a double primitive) for an item within a series.-
Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, removeChangeListener
-
Methods inherited from interface org.jfree.data.general.SeriesDataset
getSeriesCount, getSeriesKey, indexOf
-
Methods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder, getItemCount, getX, getXValue, getY, getYValue
-
-
-
-
Method Detail
-
getZ
Number getZ(int series, int item)
Returns the z-value for the specified series and item.- Parameters:
series- the series index (zero-based).item- the item index (zero-based).- Returns:
- The z-value (possibly
null).
-
getZValue
double getZValue(int series, int item)
Returns the z-value (as a double primitive) for an item within a series.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The z-value.
-
-