当我试图清除我的集合(链接到一个lineChart)时,我有一个IndexOutOfBoundsException。根据另一篇文章,我尝试使用Platform.runlater,但问题还在继续。:429) at javafx.scene.chart.LineChart.dataItemRemoved(LineChart.java:305)
at javafx.scene.chart.XYCh
我有一个ScalaFX LineChart,它的XAxis是时间。数据是动态的,正在AnimationTimer中更新。= new LineChart(xAxis, yAxis) lineChart.getData.add(series)xAxis.upperBound.value = math.max(index, 100) // this has no effect