我具有連接到數據源一個GRAL圖表:如何更改數據後刷新GRAL圖表?
XYPlot plot = new XYPlot(data);
chartPanel=new InteractivePanel(plot);
LineRenderer lines = new DefaultLineRenderer2D();
plot.setLineRenderer(data, lines);
Color c1 = new Color(0.0f, 0.3f, 1.0f);
plot.getLineRenderer(zl).setSetting(LineRenderer.COLOR, c2);
可變「數據」通過時間和這段代碼的變化之後執行的變化。如何使用新數據刷新圖表?我試圖重繪(),重新驗證()但沒有效果...