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

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

Introduction

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

Prototype

public double getXValue(int itemIndex) 

Source Link

Document

Returns the x-value for the specified item.

Usage

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

/**
 * Returns the x-value for one item in a series.
 * /*from w w  w  . ja v  a 2  s  .  c  om*/
 * @param seriesIndex  the series index.
 * @param itemIndex  the item index.
 * 
 * @return The x-value. 
 */
@Override
public double getXValue(int seriesIndex, int itemIndex) {
    XYZSeries s = this.series.get(seriesIndex);
    return s.getXValue(itemIndex);
}