I am currently learning JavaFX and am trying to create an app that shows a line chart and allows the user to change certain variables which then changes the plotted line. T
This seems to be a bug when changing the chart data with animation. As mentioned by @Anurag if you turn off the animation you will not face the issue.
e.g.
linePlot.setAnimated(false);