feat:overview地图增加加减控制缩放

This commit is contained in:
wangwenrui
2020-09-23 18:37:49 +08:00
parent 95e627ecb9
commit 9c59167cdd
3 changed files with 42 additions and 1 deletions

View File

@@ -74,6 +74,12 @@
this.legend=legend.filter((item,index)=>index<this.dataSize);
this.resize();
},
getOption:function(){
return this.chart.getOption();
},
setOption:function(option){
this.chart.setOption(option)
},
setSeries:function(series, legend, legendData){
if(!this.chart){
this.chartInit();