Example usage for org.jfree.data.xy YIntervalSeries getYLowValue

List of usage examples for org.jfree.data.xy YIntervalSeries getYLowValue

Introduction

In this page you can find the example usage for org.jfree.data.xy YIntervalSeries getYLowValue.

Prototype

public double getYLowValue(int index) 

Source Link

Document

Returns the lower bound of the Y-interval for the specified item in the series.

Usage

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

/**
 * Returns the start y-value (as a double primitive) for an item within a
 * series./*w  w  w  .j a  v  a2  s .c  o m*/
 *
 * @param series  the series index (zero-based).
 * @param item  the item index (zero-based).
 *
 * @return The value.
 */
@Override
public double getStartYValue(int series, int item) {
    YIntervalSeries s = (YIntervalSeries) this.data.get(series);
    return s.getYLowValue(item);
}

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

/**
 * Returns the start y-value for an item within a series.
 *
 * @param series  the series index.//from   w  w  w  . j  a va2 s . c om
 * @param item  the item index.
 *
 * @return The start y-value.
 */
@Override
public Number getStartY(int series, int item) {
    YIntervalSeries s = (YIntervalSeries) this.data.get(series);
    return new Double(s.getYLowValue(item));
}