public interface

XYZDataset

implements XYDataset
org.jfree.data.xy.XYZDataset
Known Indirect Subclasses

Class Overview

The interface through which JFreeChart obtains data in the form of (x, y, z) items - used for XY and XYZ plots.

Summary

Public Methods
abstract Number getZ(int series, int item)
Returns the z-value for the specified series and item.
abstract double getZValue(int series, int item)
Returns the z-value (as a double primitive) for an item within a series.
[Expand]
Inherited Methods
From interface org.jfree.data.general.Dataset
From interface org.jfree.data.general.SeriesDataset
From interface org.jfree.data.xy.XYDataset

Public Methods

public abstract 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).

public abstract 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.