org.jfree.data.xy
Interface OHLCDataset
- Dataset, SeriesDataset, XYDataset
- CombinedDataset, DefaultHighLowDataset, DefaultOHLCDataset, OHLCSeriesCollection, SubSeriesDataset
An interface that defines data in the form of (x, high, low, open, close)
tuples.
Number | getClose(int series, int item) - Returns the y-value for the specified series and item.
|
double | getCloseValue(int series, int item) - Returns the close-value (as a double primitive) for an item within a
series.
|
Number | getHigh(int series, int item) - Returns the high-value for the specified series and item.
|
double | getHighValue(int series, int item) - Returns the high-value (as a double primitive) for an item within a
series.
|
Number | getLow(int series, int item) - Returns the low-value for the specified series and item.
|
double | getLowValue(int series, int item) - Returns the low-value (as a double primitive) for an item within a
series.
|
Number | getOpen(int series, int item) - Returns the open-value for the specified series and item.
|
double | getOpenValue(int series, int item) - Returns the open-value (as a double primitive) for an item within a
series.
|
Number | getVolume(int series, int item) - Returns the volume for the specified series and item.
|
double | getVolumeValue(int series, int item) - Returns the volume-value (as a double primitive) for an item within a
series.
|
getClose
public Number getClose(int series,
int item)
Returns the y-value for the specified series and item.
series
- the series (zero-based index).item
- the item (zero-based index).
getCloseValue
public double getCloseValue(int series,
int item)
Returns the close-value (as a double primitive) for an item within a
series.
series
- the series (zero-based index).item
- the item (zero-based index).
getHigh
public Number getHigh(int series,
int item)
Returns the high-value for the specified series and item.
series
- the series (zero-based index).item
- the item (zero-based index).
getHighValue
public double getHighValue(int series,
int item)
Returns the high-value (as a double primitive) for an item within a
series.
series
- the series (zero-based index).item
- the item (zero-based index).
getLow
public Number getLow(int series,
int item)
Returns the low-value for the specified series and item.
series
- the series (zero-based index).item
- the item (zero-based index).
getLowValue
public double getLowValue(int series,
int item)
Returns the low-value (as a double primitive) for an item within a
series.
series
- the series (zero-based index).item
- the item (zero-based index).
getOpen
public Number getOpen(int series,
int item)
Returns the open-value for the specified series and item.
series
- the series (zero-based index).item
- the item (zero-based index).
getOpenValue
public double getOpenValue(int series,
int item)
Returns the open-value (as a double primitive) for an item within a
series.
series
- the series (zero-based index).item
- the item (zero-based index).
getVolume
public Number getVolume(int series,
int item)
Returns the volume for the specified series and item.
series
- the series (zero-based index).item
- the item (zero-based index).
getVolumeValue
public double getVolumeValue(int series,
int item)
Returns the volume-value (as a double primitive) for an item within a
series.
series
- the series (zero-based index).item
- the item (zero-based index).