org.jfree.data.time.ohlc
Class OHLCItem
- Cloneable, Comparable, Serializable
An item representing data in the form (period, open, high, low, close).
OHLCItem
public OHLCItem(RegularTimePeriod period,
double open,
double high,
double low,
double close)
Creates a new instance of OHLCItem
.
period
- the time period.open
- the open-value.high
- the high-value.low
- the low-value.close
- the close-value.
getCloseValue
public double getCloseValue()
Returns the close value.
getHighValue
public double getHighValue()
Returns the high value.
getLowValue
public double getLowValue()
Returns the low value.
getOpenValue
public double getOpenValue()
Returns the open value.
getYValue
public double getYValue()
Returns the y-value.