org.jfree.data.xy
Interface WindDataset
- Dataset, SeriesDataset, XYDataset
- DefaultWindDataset
Interface for a dataset that supplies wind intensity and direction values
observed at various points in time.
Number | getWindDirection(int series, int item) - Returns the wind direction (should be in the range 0 to 12,
corresponding to the positions on an upside-down clock face).
|
Number | getWindForce(int series, int item) - Returns the wind force on the Beaufort scale (0 to 12).
|
getWindDirection
public Number getWindDirection(int series,
int item)
Returns the wind direction (should be in the range 0 to 12,
corresponding to the positions on an upside-down clock face).
series
- the series (in the range 0
to
getSeriesCount() - 1
).item
- the item (in the range 0
to
getItemCount(series) - 1
).
getWindForce
public Number getWindForce(int series,
int item)
Returns the wind force on the Beaufort scale (0 to 12). See:
http://en.wikipedia.org/wiki/Beaufort_scale
series
- the series (in the range 0
to
getSeriesCount() - 1
).item
- the item (in the range 0
to
getItemCount(series) - 1
).