窗口大小改变市echarts图表常常会溢出

var myChart = echarts.init(document.getElementById('main'));
var option = { ... };
myChart.setOption(option);
window.onresize=function(){
      myChart.resize();
 } 

标签: none

添加新评论