Open robbiezl opened 6 years ago
This might be related to an issue that I discovered a while ago, but didn't get around to filing a bug against. I'll put this on my list to track down this week. If it turns out to be the same bug, then I'll create a bug in JBS with both this test program and mine attached. Otherwise, I'll create two bugs in JBS.
Dear @kevinrushforth,the bug still exist in OpenJFX Build 21 (2018/8/1) ,may I get the link of this bug report in JBS,so I can concen on it?
Sorry for the delay. This got buried in my queue, and I haven't filed a new bug yet. I see that you filed a bug via bugs.java.com with ID 9056532. As soon as it is transfered to the JDK project in JBS (probably tomorrow), it will be publicly visible and can be linked to this issue.
I wrote above:
This might be related to an issue that I discovered a while ago, but didn't get around to filing a bug against.
Since the chart refresh problem is in SubScene, it is probably not related to this other issue I mentioned above (that one affects ProgressIndicator in a Scene).
Thank you for your great work.
Now I temp used "chart.requestLayout()" after the chart data changed,it can refresh in SubScene.
The bug is now visible in JBS as JDK-8209172. I can update it to add the workaround you suggested above.
I write a JavaFX Demo to add a bar chart in Subscene and change the bar chart series value in KeyFrame in Timeline.
In JDK8, the bar chart graphic refresh correct,But in JDK 10,the bar chart graphic do not refresh.
I tried Platform.requestNextPulse,but it donot useful.