// echarts根据屏幕大小自适应
let myChart = echarts.init(document.getElementById(that.echarts))
setTimeout(function (){
window.onresize = function () {
myChart.resize();
}
},200)
// echarts根据屏幕大小自适应
let myChart = echarts.init(document.getElementById(that.echarts))
setTimeout(function (){
window.onresize = function () {
myChart.resize();
}
},200)
本文标题:echarts宽度根据屏幕大小自适应
本文链接:https://www.haomeiwen.com/subject/ewjxyqtx.html
网友评论