public interface

OHLCDataset

implements XYDataset
org.jfree.data.xy.OHLCDataset
Known Indirect Subclasses

Class Overview

An interface that defines data in the form of (x, high, low, open, close) tuples.

Summary

Public Methods
abstract Number getClose(int series, int item)
Returns the y-value for the specified series and item.
abstract double getCloseValue(int series, int item)
Returns the close-value (as a double primitive) for an item within a series.
abstract Number getHigh(int series, int item)
Returns the high-value for the specified series and item.
abstract double getHighValue(int series, int item)
Returns the high-value (as a double primitive) for an item within a series.
abstract Number getLow(int series, int item)
Returns the low-value for the specified series and item.
abstract double getLowValue(int series, int item)
Returns the low-value (as a double primitive) for an item within a series.
abstract Number getOpen(int series, int item)
Returns the open-value for the specified series and item.
abstract double getOpenValue(int series, int item)
Returns the open-value (as a double primitive) for an item within a series.
abstract Number getVolume(int series, int item)
Returns the volume for the specified series and item.
abstract double getVolumeValue(int series, int item)
Returns the volume-value (as a double primitive) for an item within a series.
[Expand]
Inherited Methods
From interface org.jfree.data.general.Dataset
From interface org.jfree.data.general.SeriesDataset
From interface org.jfree.data.xy.XYDataset

Public Methods

public abstract Number getClose (int series, int item)

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.

public abstract double getCloseValue (int series, int item)

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.

public abstract Number getHigh (int series, int item)

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.

public abstract double getHighValue (int series, int item)

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.

public abstract Number getLow (int series, int item)

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.

public abstract double getLowValue (int series, int item)

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.

public abstract Number getOpen (int series, int item)

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.

public abstract double getOpenValue (int series, int item)

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.

public abstract Number getVolume (int series, int item)

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.

public abstract double getVolumeValue (int series, int item)

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.