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

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

Introduction

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

Prototype

public double getIntervalPositionFactor() 

Source Link

Document

Returns the interval position factor.

Usage

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

/**
 * Some checks for the constructor./*from   w ww  .  j  a v a 2s.c om*/
 */
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.//from   w  ww  .j  a  va  2s.  c o m
 */
@Test
public void testConstructor() {
    XYSeriesCollection xysc = new XYSeriesCollection();
    assertEquals(0, xysc.getSeriesCount());
    assertEquals(1.0, xysc.getIntervalWidth(), EPSILON);
    assertEquals(0.5, xysc.getIntervalPositionFactor(), EPSILON);
}