Package org.jfree.data.xy
Interface OHLCDataset
- All Superinterfaces:
Dataset,SeriesDataset,XYDataset
- All Known Implementing Classes:
DefaultHighLowDataset,DefaultOHLCDataset,OHLCSeriesCollection
public interface OHLCDataset extends XYDataset
An interface that defines data in the form of (x, high, low, open, close)
tuples.
-
Method Summary
Modifier and Type Method Description NumbergetClose(int series, int item)Returns the y-value for the specified series and item.doublegetCloseValue(int series, int item)Returns the close-value (as a double primitive) for an item within a series.NumbergetHigh(int series, int item)Returns the high-value for the specified series and item.doublegetHighValue(int series, int item)Returns the high-value (as a double primitive) for an item within a series.NumbergetLow(int series, int item)Returns the low-value for the specified series and item.doublegetLowValue(int series, int item)Returns the low-value (as a double primitive) for an item within a series.NumbergetOpen(int series, int item)Returns the open-value for the specified series and item.doublegetOpenValue(int series, int item)Returns the open-value (as a double primitive) for an item within a series.NumbergetVolume(int series, int item)Returns the volume for the specified series and item.doublegetVolumeValue(int series, int item)Returns the volume-value (as a double primitive) for an item within a series.Methods inherited from interface org.jfree.data.general.Dataset
addChangeListener, getGroup, removeChangeListener, setGroupMethods inherited from interface org.jfree.data.general.SeriesDataset
getSeriesCount, getSeriesKey, indexOfMethods inherited from interface org.jfree.data.xy.XYDataset
getDomainOrder, getItemCount, getX, getXValue, getY, getYValue
-
Method Details
-
getHigh
Returns the high-value for the specified series and item.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The value.
-
getHighValue
Returns the high-value (as a double primitive) for an item within a series.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The high-value.
-
getLow
Returns the low-value for the specified series and item.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The value.
-
getLowValue
Returns the low-value (as a double primitive) for an item within a series.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The low-value.
-
getOpen
Returns the open-value for the specified series and item.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The value.
-
getOpenValue
Returns the open-value (as a double primitive) for an item within a series.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The open-value.
-
getClose
Returns the y-value for the specified series and item.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The value.
-
getCloseValue
Returns the close-value (as a double primitive) for an item within a series.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The close-value.
-
getVolume
Returns the volume for the specified series and item.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The value.
-
getVolumeValue
Returns the volume-value (as a double primitive) for an item within a series.- Parameters:
series- the series (zero-based index).item- the item (zero-based index).- Returns:
- The volume-value.
-