This commit is contained in:
2019-11-04 15:45:55 +01:00
parent 67c01760aa
commit 0b415d3480

View File

@@ -287,16 +287,16 @@ public class AthosCameras extends Panel {
}
};
dataPipeline.getStream().addListener(listener);
chart.setAsyncUpdates(true);
chart.setDevice(dev);
JDialog dlg = SwingUtils.showDialog(AthosCameras.this.getTopLevel(), cameraName + " " + field, null, chart);
chart.setAsyncUpdates(true);
chart.setDevice(dev);
//chart.setAsyncUpdates(true);
System.out.println(chart.getAsyncUpdates());
SwingUtils.invokeDelayed(()->{chart.setAsyncUpdates(true);}, 3000);
//SwingUtils.invokeDelayed(()->{chart.setAsyncUpdates(true);}, 3000);
//TODO:
//PlotBase plot = chart.getPlot();
//if (plot!=null){