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
刚刚接触echarts,用到了timeline的时候遇到了这样一个情况,以下面的demo为例:
series: [{data: [12, 13, 4, 32], name: '销量', type: 'bar'}]
series: [{data: [22, 12], name: '销量', type: 'bar'}]
数据长度不一致,结果点到2013的时候,还是显示4个bar,后面两个空位会不上2012的后两个bar 预期的效果是2012显示4个bar,2013只显示两个bar,需要怎么做呢?
The text was updated successfully, but these errors were encountered:
同 #1515
Sorry, something went wrong.
timeline中有notMerge参数,表示时间轴上多个option切换时是否进行merge操作,默认false。 修改为true即可。
参考API: http://echarts.baidu.com/doc/doc.html#Timeline
No branches or pull requests
刚刚接触echarts,用到了timeline的时候遇到了这样一个情况,以下面的demo为例:
series: [{data: [12, 13, 4, 32], name: '销量', type: 'bar'}]
series: [{data: [22, 12], name: '销量', type: 'bar'}]
数据长度不一致,结果点到2013的时候,还是显示4个bar,后面两个空位会不上2012的后两个bar
预期的效果是2012显示4个bar,2013只显示两个bar,需要怎么做呢?
The text was updated successfully, but these errors were encountered: