List of usage examples for org.jfree.data.time TimePeriodValue getValue
public Number getValue()
From source file:org.jfree.data.time.TimePeriodValuesCollection.java
/** * Returns the y-value for the specified series and item. * * @param series the series (zero-based index). * @param item the item (zero-based index). * * @return The y-value for the specified series and item. *//* w ww . ja v a 2 s . c o m*/ @Override public Number getY(int series, int item) { TimePeriodValues ts = (TimePeriodValues) this.data.get(series); TimePeriodValue dp = ts.getDataItem(item); return dp.getValue(); }