var index = 0; //播放所在下標(biāo)
myChart.dispatchAction({
type: 'showTip',
seriesIndex: 0,
dataIndex: index
});
var timerout = setInterval(function() {
? ? myChart.dispatchAction({
type: 'showTip',
seriesIndex: 0,
dataIndex: index
});
index++;
if(index > data.length) {
index = 0;
}
},1000)