Example usage for org.jfree.data.xy YIntervalDataItem getYValue

List of usage examples for org.jfree.data.xy YIntervalDataItem getYValue

Introduction

In this page you can find the example usage for org.jfree.data.xy YIntervalDataItem getYValue.

Prototype

public double getYValue() 

Source Link

Document

Returns the y-value.

Usage

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

/**
 * Some checks for the constructor./*from  www.  j ava2  s .c  om*/
 */
@Test
public void testConstructor1() {
    YIntervalDataItem item1 = new YIntervalDataItem(1.0, 2.0, 3.0, 4.0);
    assertEquals(new Double(1.0), item1.getX());
    assertEquals(2.0, item1.getYValue(), EPSILON);
    assertEquals(3.0, item1.getYLowValue(), EPSILON);
    assertEquals(4.0, item1.getYHighValue(), EPSILON);
}