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