org.jfree.data.time.ohlc
Class OHLCSeries
- Cloneable, Serializable
A list of (RegularTimePeriod, open, high, low, close) data items.
OHLCSeries(Comparable key)- Creates a new empty series.
|
add, add, add, clear, delete, equals, getAllowDuplicateXValues, getAutoSort, getDataItem, getItemCount, getMaximumItemCount, hashCode, indexOf, remove, remove, setMaximumItemCount, update, updateByIndex |
addChangeListener, addPropertyChangeListener, clone, equals, firePropertyChange, fireSeriesChanged, getDescription, getItemCount, getKey, getNotify, hashCode, isEmpty, notifyListeners, removeChangeListener, removePropertyChangeListener, setDescription, setKey, setNotify |
OHLCSeries
public OHLCSeries(Comparable key)
Creates a new empty series. By default, items added to the series will
be sorted into ascending order by period, and duplicate periods will
not be allowed.
key - the series key (null not permitted).
add
public void add(RegularTimePeriod period,
double open,
double high,
double low,
double close) Adds a data item to the series.
period - the period.open - the open-value.high - the high-value.low - the low-value.close - the close-value.