Echarts JS
var myChart = echarts.init(dom, null, {
renderer: 'canvas',
useDirtyRect: false
});
Smiling Salmon
var myChart = echarts.init(dom, null, {
renderer: 'canvas',
useDirtyRect: false
});
if (option && typeof option === 'object') {
myChart.setOption(option);
}
window.addEventListener('resize', myChart.resize);