Commit d61c184d authored by leon's avatar leon

feat: map add visual map config

parent ac5cf17b
...@@ -126,6 +126,7 @@ ...@@ -126,6 +126,7 @@
} }
}, },
}, },
visualMap: this.elementInfo.option.visualMap.show ? [this.elementInfo.option.visualMap] : [],
animationDurationUpdate: 1000, animationDurationUpdate: 1000,
series: [{ series: [{
id: 'associate', id: 'associate',
......
...@@ -60,6 +60,7 @@ ...@@ -60,6 +60,7 @@
} }
} }
}, },
visualMap: this.elementInfo.option.visualMap.show ? [this.elementInfo.option.visualMap] : [],
series: this.dealSeriesData(dataList) series: this.dealSeriesData(dataList)
} }
chart.setOption(this.ec.option) chart.setOption(this.ec.option)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment