window.onresize = function( ){ myChart.resize(); } 来源:https://www.cnblogs.com/cuishuangshuang/p/12321003.html 标签 自适应