Search found 2 matches
- Tue Mar 25, 2008 7:55 pm
- Forum: JFreeChart
- Topic: SWT fails to refresh after I add data to chart
- Replies: 4
- Views: 5953
Well the code that I use goes like this, ( and I don't use the AWT bridge final TimeSeries series = new TimeSeries(parameter.getName(), Millisecond.class); Display display = Display.getCurrent(); if (!(display == null || display.isDisposed())) { display.asyncExec(new Runnable() { public void run() {...
- Mon Mar 24, 2008 5:59 pm
- Forum: JFreeChart
- Topic: SWT fails to refresh after I add data to chart
- Replies: 4
- Views: 5953
SWT fails to refresh after I add data to chart
I have this RCP program that uses jfreechart. The way that I create the chart is that I first create the dataset TimeSeriesCollection dataset = new TimeSeriesCollection(); dataset.addSeries(series); And then I create the chart ChartFactory.createTimeSeriesChart(....) But the dataset are filled by th...