/** * Returns the x-value for a data item as a date. * * @param series the series index (ignored). * @param item the item index (zero-based). * * @return The x-value as a date. */ public Date getXDate(int series, int item) { return this.data[item].getDate(); }
/** * Returns the x-value for a data item as a date. * * @param series the series index (ignored). * @param item the item index (zero-based). * * @return The x-value as a date. */ public Date getXDate(int series, int item) { return this.data[item].getDate(); }
/** * Returns the x-value for a data item. * * @param series the series index (ignored). * @param item the item index (zero-based). * * @return The x-value. */ @Override public Number getX(int series, int item) { return new Long(this.data[item].getDate().getTime()); }
/** * Returns the x-value for a data item. * * @param series the series index (ignored). * @param item the item index (zero-based). * * @return The x-value. */ public Number getX(int series, int item) { return new Long(this.data[item].getDate().getTime()); }