/** * Returns the y-value for the specified item. * * @param index the item index. * * @return The y-value. */ public double getYValue(int index) { XIntervalDataItem item = (XIntervalDataItem) getDataItem(index); return item.getYValue(); }
/** * Returns the lower bound of the x-interval for the specified item. * * @param index the item index. * * @return The lower bound of the x-interval. * * @since 1.0.10 */ public double getXLowValue(int index) { XIntervalDataItem item = (XIntervalDataItem) getDataItem(index); return item.getXLowValue(); }
/** * Returns the y-value for the specified item. * * @param index the item index. * * @return The y-value. */ public double getYValue(int index) { XIntervalDataItem item = (XIntervalDataItem) getDataItem(index); return item.getYValue(); }
/** * Returns the x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ public Number getX(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return di.getX(); }
/** * Returns the x-value for the specified item. * * @param index the item index. * * @return The x-value (never {@code null}). */ public Number getX(int index) { XIntervalDataItem item = (XIntervalDataItem) getDataItem(index); return item.getX(); }
/** * Returns the x-value for the specified item. * * @param index the item index. * * @return The x-value (never <code>null</code>). */ public Number getX(int index) { XIntervalDataItem item = (XIntervalDataItem) getDataItem(index); return item.getX(); }
/** * Returns the upper bound of the x-interval for the specified item. * * @param index the item index. * * @return The upper bound of the x-interval. * * @since 1.0.10 */ public double getXHighValue(int index) { XIntervalDataItem item = (XIntervalDataItem) getDataItem(index); return item.getXHighValue(); }
/** * Returns the end x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ public Number getEndX(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return new Double(di.getXHighValue()); }
/** * Returns the lower bound of the x-interval for the specified item. * * @param index the item index. * * @return The lower bound of the x-interval. * * @since 1.0.10 */ public double getXLowValue(int index) { XIntervalDataItem item = (XIntervalDataItem) getDataItem(index); return item.getXLowValue(); }
/** * Returns the x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ @Override public Number getX(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return di.getX(); }
/** * Returns the y-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The y-value. */ @Override public Number getY(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return new Double(di.getYValue()); }
/** * Returns the start x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ @Override public Number getStartX(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return new Double(di.getXLowValue()); }
/** * Returns the y-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The y-value. */ public Number getY(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return new Double(di.getYValue()); }
/** * Returns the start x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ public Number getStartX(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return new Double(di.getXLowValue()); }
/** * Returns the upper bound of the x-interval for the specified item. * * @param index the item index. * * @return The upper bound of the x-interval. * * @since 1.0.10 */ public double getXHighValue(int index) { XIntervalDataItem item = (XIntervalDataItem) getDataItem(index); return item.getXHighValue(); }
/** * Returns the end x-value for an item within a series. * * @param series the series index. * @param item the item index. * * @return The x-value. */ @Override public Number getEndX(int series, int item) { XIntervalSeries s = (XIntervalSeries) this.data.get(series); XIntervalDataItem di = (XIntervalDataItem) s.getDataItem(item); return new Double(di.getXHighValue()); }