diff --git a/plugins/AthosCameras.java b/plugins/AthosCameras.java index 49bdbb6..5e880ab 100644 --- a/plugins/AthosCameras.java +++ b/plugins/AthosCameras.java @@ -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){