List of usage examples for org.jfree.data.time.ohlc OHLCItem getYValue
public double getYValue()
From source file:org.jfree.data.time.ohlc.OHLCSeriesCollection.java
/** * Returns the y-value for an item within a series. * * @param series the series index./*from ww w. ja v a 2 s. c om*/ * @param item the item index. * * @return The y-value. */ @Override public Number getY(int series, int item) { OHLCSeries s = (OHLCSeries) this.data.get(series); OHLCItem di = (OHLCItem) s.getDataItem(item); return new Double(di.getYValue()); }