Package org.jfree.data
Interface ContourDataset
- All Superinterfaces:
Dataset,SeriesDataset,XYDataset,XYZDataset
- All 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.
- Author:
- David M. O'Donnell
-
Method Summary
Modifier and Type Method Description 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.Methods inherited from interface org.jfree.data.Dataset
addChangeListener, getGroup, removeChangeListener, setGroupMethods inherited from interface org.jfree.data.SeriesDataset
getSeriesCount, getSeriesNameMethods inherited from interface org.jfree.data.XYDataset
getItemCount, getX, getXValue, getY, getYValueMethods inherited from interface org.jfree.data.XYZDataset
getZ, getZValue
-
Method Details
-
getMinZValue
double getMinZValue()Returns the smallest Z data value.- Returns:
- The minimum Z value.
-
getMaxZValue
double getMaxZValue()Returns the largest Z data value.- Returns:
- The maximum Z value.
-
getXValues
Number[] getXValues()Returns the array of Numbers representing the x data values.- Returns:
- The array of x values.
-
getYValues
Number[] getYValues()Returns the array of Numbers representing the y data values.- Returns:
- The array of y values.
-
getZValues
Number[] getZValues()Returns the array of Numbers representing the z data values.- Returns:
- The array of z values.
-
indexX
int[] indexX()Returns an int array contain the index into the x values.- Returns:
- The X values.
-
getXIndices
int[] getXIndices()Returns the index of the xvalues.- Returns:
- The x values.
-
getZValueRange
Returns the maximum z-value within visible region of plot.- Parameters:
x- the x-value.y- the y-value.- Returns:
- The maximum z-value.
-
isDateAxis
boolean isDateAxis(int axisNumber)Returns true if axis are dates.- Parameters:
axisNumber- the axis where 0-x, 1-y, and 2-z.- Returns:
trueorfalse.
-