当我在IE中将相同的图表导出到SVG时,可以正常工作,但是当我在chrome中尝试时,出现以下错误。
“ 第1行第12202列的错误:xmlParseEntityRef:无名称”
欢迎提出任何建议。
这是我的代码中的SVG导出部分:
renderedChart = new Highcharts.Chart(chartOptions);
if (type === 'svg') {
renderedChart.exportChart({
'type': 'image/svg+xml'
}, {
title: {
style: {
display: 'visible'
}
}
});
}