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
dataZoom的inside类型的xAxisIndex设置为数组时,只有数组最后一项的x轴有缩放功能。
dataZoom: [ { show: true, realtime: true, start: 30, end: 70, xAxisIndex: [0, 1] }, { type: 'inside', realtime: true, start: 30, end: 70, xAxisIndex: 0 }, { type: 'inside', realtime: true, start: 30, end: 70, xAxisIndex: 1 } ],
xAxisIndex数组中每个x轴所属的grid都能缩放。
option = { }
The text was updated successfully, but these errors were encountered:
补充一下,不仅滚轮缩放会无效,鼠标的左右拖动也无效,且拖动功能在所有grid中都无效。 如果每个grid设置inside,则拖动问题也可解决。 之所以是“只有数组最后一项的x轴有缩放功能”,是因为3个grid测试时,前2个grid无效,且如果调整xAxisIndex顺序的话,例如从 [0, 1] 改为 [1, 0] ,始终是最后一个索引的grid能缩放。 以上问题在3.0.2中没有发现。
Sorry, something went wrong.
@pissang 请求确认以上问题
baidu的实例链接:http://echarts.baidu.com/demo.html#grid-multiple
f28607a
No branches or pull requests
问题简述 (One-line summary)
dataZoom的inside类型的xAxisIndex设置为数组时,只有数组最后一项的x轴有缩放功能。
版本及环境 (Version & Environment)
重现步骤 (Steps to reproduce)
期望结果 (Expected behaviour)
xAxisIndex数组中每个x轴所属的grid都能缩放。
可能哪里有问题 (What went wrong)
ECharts配置项 (ECharts option)
其他信息 (Other comments)
The text was updated successfully, but these errors were encountered: