Commit 9a5f2aaf authored by leon's avatar leon

feat: line bar add datazoom event

parent c38f6c6c
......@@ -84,6 +84,9 @@
chart.on('click', event => {
that.handleEchartsClick(event)
})
chart.on('datazoom', event => {
that.echartsDataZoom(event)
})
return chart
},
initChart() {
......
......@@ -70,6 +70,9 @@
chart.on('click', event => {
that.handleEchartsClick(event)
})
chart.on('datazoom', event => {
that.echartsDataZoom(event)
})
return chart
},
initChart() {
......
......@@ -72,6 +72,9 @@
chart.on('click', event => {
that.handleEchartsClick(event)
})
chart.on('datazoom', event => {
that.echartsDataZoom(event)
})
return chart
},
initChart() {
......@@ -99,7 +102,8 @@
formatter: val => {
return that.$u.common.converFunction(that.elementInfo.option.dataset
.formatter, val)
}
},
show: item.data.length > 10 ? false : true
}
}
return {
......
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