Bug Fixes
-
SSR: Bar/column charts rendered duplicate elements in
renderToString()(1b4bcb1f)SSRElement.appendChildandinsertBeforewere unconditionally pushing the
child onto the children array without checking whether the child already had a
parent. BecauseBar.jscreateselDataLabelsWrap,elGoalsMarkers, and
elBarShadowsonce per series but callselSeries.add()on every data-point
iteration, the SSR virtual DOM accumulated N×N bar paths and datalabel groups
instead of N. The fix mirrors standard browser DOM move semantics: if a node
already has a parent it is detached from that parent before being appended.
This affects bothappendChildandinsertBefore.