org.jfree.data.general.HeatMapDataset |
![]() |
A dataset that represents a rectangular grid of (x, y, z) values. The x
and y values appear at regular intervals in the dataset, while the z-values
can take any value (including null
for unknown values).
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the highest x-value represented in this dataset.
| |||||||||||
Returns the highest y-value represented in this dataset.
| |||||||||||
Returns the lowest x-value represented in this dataset.
| |||||||||||
Returns the lowest y-value represented in this dataset.
| |||||||||||
Returns the number of x values across the width of the dataset.
| |||||||||||
A convenience method that returns the x-value for the given index.
| |||||||||||
Returns the number of y values (or samples) for the dataset.
| |||||||||||
A convenience method that returns the y-value for the given index.
| |||||||||||
Returns the z-value at the specified sample position in the dataset.
| |||||||||||
Returns the z-value at the specified sample position in the dataset.
|
Returns the highest x-value represented in this dataset. A requirement of this interface is that this method must never return infinite or Double.NAN values.
Returns the highest y-value represented in this dataset. A requirement of this interface is that this method must never return infinite or Double.NAN values.
Returns the lowest x-value represented in this dataset. A requirement of this interface is that this method must never return infinite or Double.NAN values.
Returns the lowest y-value represented in this dataset. A requirement of this interface is that this method must never return infinite or Double.NAN values.
Returns the number of x values across the width of the dataset. The
values are evenly spaced between getMinimumXValue()
and
getMaximumXValue()
.
A convenience method that returns the x-value for the given index.
xIndex | the xIndex. |
---|
Returns the number of y values (or samples) for the dataset. The
values are evenly spaced between getMinimumYValue()
and
getMaximumYValue()
.
A convenience method that returns the y-value for the given index.
yIndex | the yIndex. |
---|
Returns the z-value at the specified sample position in the dataset.
This method can return null
to indicate a missing/unknown
value.
Bear in mind that the class implementing this interface may
store its data using primitives rather than objects, so calling this
method may require a new Number
object to be allocated...
for this reason, it is generally preferable to use the
getZValue(int, int)
method unless you *know* that the dataset
implementation stores the z-values using objects.
xIndex | the position of the x sample in the dataset. |
---|---|
yIndex | the position of the y sample in the dataset. |
null
).
Returns the z-value at the specified sample position in the dataset. For a missing or unknown value, this method should return Double.NAN.
xIndex | the position of the x sample in the dataset. |
---|---|
yIndex | the position of the y sample in the dataset. |