Commit cbe5f611 authored by leon's avatar leon

feat: daily

parent bff7eba4
......@@ -50,7 +50,6 @@
} = this.elementData
const seniorConfig = this.elementInfo.option.seniorConfig
this.ec.option = this.$u.common.converFunction(seniorConfig, dataList, geoCoordMapList)
console.log(this.ec.option)
chart.setOption(this.ec.option)
const that = this
chart.on('click', event => {
......@@ -115,8 +114,8 @@
if (value.categories) {
this.ec.option.yAxis.data = value.categories
}
if (value.title && this.ec.option.graphic) {
this.ec.option.graphic.elements[0].style.text = value.title
if (value.title && this.ec.option.title) {
this.ec.option.title.text = value.title
}
this.currentIndex = index
if (index === dataList.length - 1) {
......
This diff is collapsed.
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