/** * Adds a data item to the series. * * @param x the x-value. * @param xLow the lower bound of the x-interval. * @param xHigh the upper bound of the x-interval. * @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 xLow, double xHigh, double y, double yLow, double yHigh) { super.add(new XYIntervalDataItem(x, xLow, xHigh, y, yLow, yHigh), true); }
/** * Adds a data item to the series and sends a {@link SeriesChangeEvent} to * all registered listeners. * * @param x the x-value. * @param xLow the lower bound of the x-interval. * @param xHigh the upper bound of the x-interval. * @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 xLow, double xHigh, double y, double yLow, double yHigh) { add(new XYIntervalDataItem(x, xLow, xHigh, y, yLow, yHigh), true); }