List of usage examples for org.jfree.data.xy VectorDataItem getVectorX
public double getVectorX()
From source file:org.jfree.data.xy.VectorSeriesCollection.java
/** * Returns the x-component of the vector for an item in a series. * * @param series the series index./*ww w . j a v a 2 s .c o m*/ * @param item the item index. * * @return The x-component of the vector. */ @Override public double getVectorXValue(int series, int item) { VectorSeries s = (VectorSeries) this.data.get(series); VectorDataItem di = (VectorDataItem) s.getDataItem(item); return di.getVectorX(); }