org.jfree.data.contour

Interface ContourDataset

All Superinterfaces:
Dataset, SeriesDataset, XYDataset, XYZDataset
Known Implementing Classes:
DefaultContourDataset, NonGridContourDataset

public interface ContourDataset
extends XYZDataset

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

Method Summary

double
getMaxZValue()
Returns the largest Z data value.
double
getMinZValue()
Returns the smallest Z data value.
int[]
getXIndices()
Returns the index of the xvalues.
Number[]
getXValues()
Returns the array of Numbers representing the x data values.
Number[]
getYValues()
Returns the array of Numbers representing the y data values.
Range
getZValueRange(Range x, Range y)
Returns the maximum z-value within visible region of plot.
Number[]
getZValues()
Returns the array of Numbers representing the z data values.
int[]
indexX()
Returns an int array contain the index into the x values.
boolean
isDateAxis(int axisNumber)
Returns true if axis are dates.

Methods inherited from interface org.jfree.data.general.Dataset

addChangeListener, getGroup, removeChangeListener, setGroup

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

Methods inherited from interface org.jfree.data.xy.XYZDataset

getZ, getZValue

Method Details

getMaxZValue

public double getMaxZValue()
Returns the largest Z data value.
Returns:
The maximum Z value.

getMinZValue

public double getMinZValue()
Returns the smallest Z data value.
Returns:
The minimum Z value.

getXIndices

public int[] getXIndices()
Returns the index of the xvalues.
Returns:
The x values.

getXValues

public Number[] getXValues()
Returns the array of Numbers representing the x data values.
Returns:
The array of x values.

getYValues

public Number[] getYValues()
Returns the array of Numbers representing the y data values.
Returns:
The array of y values.

getZValueRange

public Range getZValueRange(Range x,
                            Range y)
Returns the maximum z-value within visible region of plot.
Parameters:
x - the x-value.
y - the y-value.
Returns:
The maximum z-value.

getZValues

public Number[] getZValues()
Returns the array of Numbers representing the z data values.
Returns:
The array of z values.

indexX

public int[] indexX()
Returns an int array contain the index into the x values.
Returns:
The X values.

isDateAxis

public boolean isDateAxis(int axisNumber)
Returns true if axis are dates.
Parameters:
axisNumber - the axis where 0-x, 1-y, and 2-z.
Returns:
true or false.