Example usage for org.jfree.data.xy DefaultIntervalXYDataset getStartYValue

List of usage examples for org.jfree.data.xy DefaultIntervalXYDataset getStartYValue

Introduction

In this page you can find the example usage for org.jfree.data.xy DefaultIntervalXYDataset getStartYValue.

Prototype

@Override
public double getStartYValue(int series, int item) 

Source Link

Document

Returns the starting y-value for an item within a series.

Usage

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

/**
 * Some checks for the getStartYValue() method.
 *///from  w w  w.j  a  v  a 2s . c  om
@Test
public void testGetStartYValue() {
    DefaultIntervalXYDataset d = createSampleDataset1();
    assertEquals(1.09, d.getStartYValue(0, 0), EPSILON);
    assertEquals(2.09, d.getStartYValue(0, 1), EPSILON);
    assertEquals(3.09, d.getStartYValue(0, 2), EPSILON);
    assertEquals(11.09, d.getStartYValue(1, 0), EPSILON);
    assertEquals(12.09, d.getStartYValue(1, 1), EPSILON);
    assertEquals(13.09, d.getStartYValue(1, 2), EPSILON);
}

From source file:org.jfree.data.xy.junit.DefaultIntervalXYDatasetTest.java

/**
 * Some checks for the getStartYValue() method.
 *///from   w  ww . j a  va 2 s.  c o  m
public void testGetStartYValue() {
    DefaultIntervalXYDataset d = createSampleDataset1();
    assertEquals(1.09, d.getStartYValue(0, 0), EPSILON);
    assertEquals(2.09, d.getStartYValue(0, 1), EPSILON);
    assertEquals(3.09, d.getStartYValue(0, 2), EPSILON);
    assertEquals(11.09, d.getStartYValue(1, 0), EPSILON);
    assertEquals(12.09, d.getStartYValue(1, 1), EPSILON);
    assertEquals(13.09, d.getStartYValue(1, 2), EPSILON);
}