@Test(expected = IllegalArgumentException.class) public void dataPointBandSeries() { cm = new ChartModel(FOO, BAR); cm.addDataPoint(System.currentTimeMillis()) .data(ZOO, VALUES3[0]); }
public DataPoint addDataPoint(Object label) { DataPoint dp = new DataPoint(); labels.add(label); dataPoints.add(dp); return dp; }
ChartModel { public DataPoint addDataPoint(Object label) { DataPoint dp = new DataPoint(); labels.add(label); dataPoints.add(dp); return dp; } }
ChartModel { public DataPoint addDataPoint(Object label) { DataPoint dp = new DataPoint(); labels.add(label); dataPoints.add(dp); return dp; } ChartModel(String... series); }
ChartModel { public DataPoint addDataPoint(Object label) { DataPoint dp = new DataPoint(); labels.add(label); dataPoints.add(dp); return dp; } ChartModel(String... series); int seriesCount(); DataPoint addDataPoint(Object label); String[] getSeries(); DataPoint[] getDataPoints(); Object[] getLabels(); int dataPointCount(); DataPoint getLastDataPoint(); void addAnnotation(String key, Object value); Collection<Annot> getAnnotations(); }
ChartModel { public DataPoint addDataPoint(Object label) { DataPoint dp = new DataPoint(); labels.add(label); dataPoints.add(dp); return dp; } ChartModel(String... series); int seriesCount(); DataPoint addDataPoint(Object label); String[] getSeries(); DataPoint[] getDataPoints(); Object[] getLabels(); int dataPointCount(); DataPoint getLastDataPoint(); void addAnnotation(String key, Object value); Collection<Annot> getAnnotations();  }