Commit 9b18a2ed authored by leon's avatar leon

feat:add dateZoom config

parent 32ca7dc9
......@@ -74,6 +74,7 @@
...this.elementInfo.option.yAxis,
data: this.dealSeriesData(series).categories
},
dataZoom: this.elementInfo.dataZoom,
series: {
id: 'associate',
type: 'bar',
......
......@@ -46,6 +46,7 @@
...this.elementInfo.option.yAxis,
data: categories
},
dataZoom: this.elementInfo.dataZoom,
series: this.dealSeriesData(series)
}
chart.setOption(this.ec.option)
......
......@@ -40,7 +40,8 @@
xAxis: {
...this.elementInfo.option.xAxis,
data: categories
},
},
dataZoom: this.elementInfo.dataZoom,
series: this.dealSeriesData(series)
}
chart.setOption(this.ec.option)
......
......@@ -42,7 +42,8 @@
xAxis: {
...this.elementInfo.option.xAxis,
data: categories
},
},
dataZoom: this.elementInfo.dataZoom,
series: this.dealSeriesData(series)
}
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