Currently, I am attempting to retrieve the SVG of Echarts elements in angularjs. Despite my efforts to search for a solution, I have not come across anything useful yet. I require a similar function like the one I utilized with highchart:
const chartContainerId = `#targetChart-${id}`;
if ($(chartContainerId).highcharts()) {
chartElementSVG = $(chartContainerId)
.highcharts()
.getSVG();
$(chartContainerId).html(chartElementSVG);
}
I am now using the Echart library and need to modify this code to check if the container is an Echart element before retrieving the SVG. Any assistance would be greatly appreciated..