The following test case demonstrates the problem:
public class DefaultXYPlotTest extends GWTTestCase {
public String getModuleName() {
return "org.timepedia.chronoscope.Chronoscope";
}
public void testAutoAssignDatasetAxesSameAxis() {
XYDataset ds[]=new XYDataset[2];
ds[0]=new MockXYDataset();
ds[1]=new MockXYDataset();
ChartPanel cp= Chronoscope.createTimeseriesChart(ds, 600, 400);
RootPanel.get().add(cp);
XYPlot plot = cp.getChart().getPlot();
assertEquals(plot.getRangeAxis(0), plot.getRangeAxis(1));
}
}
Original issue reported on code.google.com by cromwell...@gmail.com on 29 Feb 2008 at 11:46
Original issue reported on code.google.com by
cromwell...@gmail.com
on 29 Feb 2008 at 11:46