Example usage for org.jfree.data.xy VectorDataItem getVector

List of usage examples for org.jfree.data.xy VectorDataItem getVector

Introduction

In this page you can find the example usage for org.jfree.data.xy VectorDataItem getVector.

Prototype

public Vector getVector() 

Source Link

Document

Returns the vector.

Usage

From source file:org.jfree.data.xy.VectorSeriesCollection.java

/**
 * Returns the vector for an item in a series.
 *
 * @param series  the series index./*from w w  w.j a va  2 s . c  om*/
 * @param item  the item index.
 *
 * @return The vector (possibly <code>null</code>).
 */
@Override
public Vector getVector(int series, int item) {
    VectorSeries s = (VectorSeries) this.data.get(series);
    VectorDataItem di = (VectorDataItem) s.getDataItem(item);
    return di.getVector();
}