-
Bug
-
Resolution: Duplicate
-
P4
-
None
-
jfx20
-
generic
-
generic
This issue came up during the analysis and fix of JDK-8088998
When a series is removed and added back to the chart, IllegalArgumentException: "duplicate children added" exception is observed. The issue can be seen when animation is enabled.
The issue is observed in following charts:
-AreaChart
-BubbleChart
-ScatterChart
-StackedAreaChart
-StackedBarChart
The same issue in LineChart is reported inJDK-8088998. The fix for this issue is not fixing the issue in above charts as seriesBeingRemovedIsAdded() method is not overloaded in these charts.
Sample code to reproduce the issue with BubbleChart is attached.
When a series is removed and added back to the chart, IllegalArgumentException: "duplicate children added" exception is observed. The issue can be seen when animation is enabled.
The issue is observed in following charts:
-AreaChart
-BubbleChart
-ScatterChart
-StackedAreaChart
-StackedBarChart
The same issue in LineChart is reported in
Sample code to reproduce the issue with BubbleChart is attached.
- duplicates
-
JDK-8088998 XYChart: duplicate child added exception when remove & add a series in several charts
- Resolved