org.jfree.data.contour

Interface ContourDataset

public interface ContourDataset extends XYZDataset

Deprecated: This class is no longer supported. If you are creating contour plots, please try to use XYPlot and XYBlockRenderer.

The interface through which JFreeChart obtains data in the form of (x, y, z) items - used for XY and XYZ plots.
Method Summary
doublegetMaxZValue()
Returns the largest Z data value.
doublegetMinZValue()
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.
RangegetZValueRange(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.
booleanisDateAxis(int axisNumber)
Returns true if axis are dates.

Method Detail

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.