org.jfree.data.time.ohlc
public class OHLCItem extends ComparableObjectItem
Since: 1.0.4
Constructor Summary | |
---|---|
OHLCItem(RegularTimePeriod period, double open, double high, double low, double close)
Creates a new instance of OHLCItem .
|
Method Summary | |
---|---|
double | getCloseValue()
Returns the close value.
|
double | getHighValue()
Returns the high value.
|
double | getLowValue()
Returns the low value.
|
double | getOpenValue()
Returns the open value.
|
RegularTimePeriod | getPeriod()
Returns the period.
|
double | getYValue()
Returns the y-value.
|
OHLCItem
.
Parameters: period the time period. open the open-value. high the high-value. low the low-value. close the close-value.
Returns: The close value.
Returns: The high value.
Returns: The low value.
Returns: The open value.
Returns: The period (never null
).
Returns: The y-value.