var myChart1 = echarts.init(document.getElementById('chart1')); var option = myChart1.getOption(); window.onresize = function () { myChart1.resize(); };
var myChart1 = echarts.init(document.getElementById('chart1')); var option = myChart1.getOption(); window.onresize = function () { myChart1.resize(); };