var index = 0; //播放所在下标
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)
网友评论