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

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

Introduction

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

Prototype

public double getVectorY() 

Source Link

Document

Returns the y-component for the vector.

Usage

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

/**
 * Returns the y-component of the vector for an item in a series.
 *
 * @param series  the series index./*from w ww . j  av a2s.c om*/
 * @param item  the item index.
 *
 * @return The y-component of the vector.
 */
@Override
public double getVectorYValue(int series, int item) {
    VectorSeries s = (VectorSeries) this.data.get(series);
    VectorDataItem di = (VectorDataItem) s.getDataItem(item);
    return di.getVectorY();
}