Example usage for org.jfree.data.xy XYSeriesCollection getIntervalWidth

List of usage examples for org.jfree.data.xy XYSeriesCollection getIntervalWidth

Introduction

In this page you can find the example usage for org.jfree.data.xy XYSeriesCollection getIntervalWidth.

Prototype

public double getIntervalWidth() 

Source Link

Document

Returns the interval width.

Usage

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

/**
 * Some checks for the constructor./*from  ww w.  ja v  a  2s  . c  o m*/
 */
public void testConstructor() {
    XYSeriesCollection xysc = new XYSeriesCollection();
    assertEquals(0, xysc.getSeriesCount());
    assertEquals(1.0, xysc.getIntervalWidth(), EPSILON);
    assertEquals(0.5, xysc.getIntervalPositionFactor(), EPSILON);
}

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

/**
 * Some checks for the constructor./* www .ja  va 2s .com*/
 */
@Test
public void testConstructor() {
    XYSeriesCollection xysc = new XYSeriesCollection();
    assertEquals(0, xysc.getSeriesCount());
    assertEquals(1.0, xysc.getIntervalWidth(), EPSILON);
    assertEquals(0.5, xysc.getIntervalPositionFactor(), EPSILON);
}