The issue has been closed
1.容易设置宽高,width="100%",height="400px"
2.new chart()设置autoFit为true
3.打开页面,图表超出容器,溢出到屏幕之外

posted by hustcc about 4 years ago 
进行更改,sorry,是autoFit,描述打错了
posted by Jokerdeath about 4 years ago
// 修改autoFit第一次渲染超出父级容器的问题
const e = document.createEvent('Event')
e.initEvent('resize', true, true)
window.dispatchEvent(e)
我使用了以上方法手动修复
posted by Jokerdeath about 4 years ago
posted by Jokerdeath about 4 years ago