echart timeline 停止循环播放

myChart.on('timelinechanged', function (timeLineIndex) {

            var arrIndex = parseInt(timeLineIndex.currentIndex);
            updateYear(years[arrIndex]);

            //停止播放
            option.timeline.autoPlay = false;
            myChart.setOption(option);
        })
交流扣扣:1328542512
原文地址:https://www.cnblogs.com/codeDevotee/p/14688145.html