List of usage examples for org.jfree.data.xy XYSeriesCollection getIntervalPositionFactor
public double getIntervalPositionFactor()
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); }