I'm trying to modify the simple example in lets-plot-mini-apps
github repo which using Lets-Plot Kotlin API in JVM app and renders plot to JavaFX Scene in way to periodically update data on a chart.
This example rebuilds a plot panel each time after data is changed and the chart flickered. How to update chart with new data and avoid such flickers?