/** * Returns the ending x-value (as a double primitive) for an item within * a series. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. * * @see #getXValue(int, int) */ @Override public double getEndXValue(int series, int item) { return getXValue(series, item) + this.barWidth / 2.0; }
/** * Returns the starting x-value (as a double primitive) for an item within * a series. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. * * @see #getXValue(int, int) */ public double getStartXValue(int series, int item) { return getXValue(series, item) - this.barWidth / 2.0; }
/** * Returns the ending x-value (as a double primitive) for an item within * a series. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. * * @see #getXValue(int, int) */ public double getEndXValue(int series, int item) { return getXValue(series, item) + this.barWidth / 2.0; }
/** * Returns the starting x-value (as a double primitive) for an item within * a series. * * @param series the series index (zero-based). * @param item the item index (zero-based). * * @return The value. * * @see #getXValue(int, int) */ @Override public double getStartXValue(int series, int item) { return getXValue(series, item) - this.barWidth / 2.0; }