that.index = 0;
that.echartsReact && that.echartsReact.getEchartsInstance().dispatchAction({
type: 'downplay',
seriesIndex: 1,
dataIndex: that.index - 1
});
that.echartsReact && that.echartsReact.getEchartsInstance().dispatchAction({
type: 'highlight',
seriesIndex: 1,
dataIndex: (that.index) % data.length
});
that.echartsReact && that.echartsReact.getEchartsInstance().dispatchAction({
type: 'showTip',
seriesIndex: 1,
dataIndex: that.index,
})
that.index++
if (that.index >= 10) {
that.index = 0
}
this.echartsReact && this.echartsReact.getEchartsInstance().on('mouseover', () => {
clearInterval(this.timer)
this.timer = null
})
this.echartsReact && this.echartsReact.getEchartsInstance().on('mouseout', () => {
})