hyfjjjj opened a new issue #9366: dataZoom动态扩展xAxisIndex失败 URL: https://github.com/apache/incubator-echarts/issues/9366 ### One-line summary [问题简述] 新增x轴后,试图设置原来的dataZoom的xAxisIndex来控制新的x轴失败 ### Version & Environment [版本及环境] + ECharts version : 4.2.0 + Browser version : Google Chrome 72.0.3604.0 + OS Version : macOS Mojave 10.14.1 ### Expected behaviour [期望结果] dataZoom控件能够控制新增的x轴 ### ECharts option [ECharts配置项] 原始的option: { xAxis: [{...}], // 只有一个 dataZoom: {type: 'inside', xAxisIndex: [0], moveOnMouseMove: true, preventDefaultMouseMove: false} } 然后执行option: { xAxis: [{...}, {...}], // 变成2个 dataZoom: [{xAxisIndex: [0,1]}] // xAxisIndex也改成2个 } 会出现js异常 ### Other comments [其他信息] 
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
