/** * Adds a data item to the series and sends a {@link SeriesChangeEvent} to * all registered listeners. * * @param x the x-value. * @param y the y-value. * @param yLow the lower bound of the y-interval. * @param yHigh the upper bound of the y-interval. */ public void add(double x, double y, double yLow, double yHigh) { add(new YIntervalDataItem(x, y, yLow, yHigh), true); }
/** * Adds a data item to the series. * * @param x the x-value. * @param y the y-value. * @param yLow the lower bound of the y-interval. * @param yHigh the upper bound of the y-interval. */ public void add(double x, double y, double yLow, double yHigh) { super.add(new YIntervalDataItem(x, y, yLow, yHigh), true); }
/** * Adds a data item to the series. * * @param x * the x-value. * @param y * the y-value. * @param yLow * the lower bound of the y-interval. * @param yHigh * the upper bound of the y-interval. * @param notify * a flag that controls whether or not a * {@link org.jfree.data.general.SeriesChangeEvent} is sent to all registered * listeners. */ public void add(double x, double y, double yLow, double yHigh, boolean notify) { super.add(new YIntervalDataItem(x, y, yLow, yHigh), notify); }