We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
1.官方实例http://echarts.baidu.com/gallery/editor.html?c=doc-example/mix-timeline-all 2.添加时间轴timelinechanged事件监听 3.自动播放和点击时间点。 4.使用左右切换按钮
currentIndex结果都为0-9, 实际结果为: 自动播放时为10,1,2,3,4,...,9 点击时间点时为,0,1,2,3,...,9 使用左切换按钮时为:-1,0,1,2,...,8
_changeTimeline: function (nextIndex) { var currentIndex = this.model.getCurrentIndex(); if (nextIndex === '+') { nextIndex = currentIndex + 1; } else if (nextIndex === '-') { nextIndex = currentIndex - 1; } this.api.dispatchAction({ type: 'timelineChange', currentIndex: nextIndex, from: this.uid }); }
option = { }
The text was updated successfully, but these errors were encountered:
0e684a7
No branches or pull requests
问题简述 (One-line summary)
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
1.官方实例http://echarts.baidu.com/gallery/editor.html?c=doc-example/mix-timeline-all
2.添加时间轴timelinechanged事件监听
3.自动播放和点击时间点。
4.使用左右切换按钮
期望结果 (Expected behaviour)
currentIndex结果都为0-9,
实际结果为:
自动播放时为10,1,2,3,4,...,9
点击时间点时为,0,1,2,3,...,9
使用左切换按钮时为:-1,0,1,2,...,8
可能哪里有问题 (What went wrong)
ECharts配置项 (ECharts option)
其他信息 (Other comments)
The text was updated successfully, but these errors were encountered: