Error: mientras se une el árbol de espuma
FoamTree: visualization already embedded in the elementEste problema surge cuando intenta volver a renderizar el árbol de espuma. Para resolver este problema, elimine el atributo data-foamtree de la siguiente manera: -
var portfolioExcessReturn = document.getElementById( 'foamTreeIdName' ) as any; if (portfolioExcessReturn) { portfolioExcessReturn.removeAttribute('data-foamtree'); }