var myChart= echarts.init(chartOrganization);
var organizations = {
series: []
}
多个图表:将resize()叠加在不同的图上面
window.addEventListener("resize", function () {
myChart.resize();
});
单个图表:
window.onresize = function(){
myChart.resize();
}
var myChart= echarts.init(chartOrganization);
var organizations = {
series: []
}
多个图表:将resize()叠加在不同的图上面
window.addEventListener("resize", function () {
myChart.resize();
});
单个图表:
window.onresize = function(){
myChart.resize();
}