Example usage for org.jfree.data.xyz XYZSeries getYValue

List of usage examples for org.jfree.data.xyz XYZSeries getYValue

Introduction

In this page you can find the example usage for org.jfree.data.xyz XYZSeries getYValue.

Prototype

public double getYValue(int itemIndex) 

Source Link

Document

Returns the y-value for the specified item.

Usage

From source file:org.jfree.data.xyz.XYZSeriesCollection.java

/**
 * Returns the y-value for one item in a series.
 * /*from  www .jav a 2 s.  co  m*/
 * @param seriesIndex  the series index.
 * @param itemIndex  the item index.
 * 
 * @return The y-value. 
 */
@Override
public double getYValue(int seriesIndex, int itemIndex) {
    XYZSeries s = this.series.get(seriesIndex);
    return s.getYValue(itemIndex);
}