Closed thatsmeta closed 3 years ago
try dataZoom: [{show: false, type: 'inside', xAxisIndex: [0, 1], start: 0, end: 100, filterMode: 'fiter', disabled:true},],
This issue has been automatically marked as stale because it did not have recent activity. It will be closed in 7 days if no further activity occurs. If you wish not to mark it as stale, please leave a comment in this issue.
This issue has been automatically closed because it did not have recent activity. If this remains to be a problem with the latest version of Apache ECharts, please open a new issue and link this to it. Thanks!
General Questions
In this issue, I have provided information with: 在这个 issue 中我提供了以下信息:
Issue Type
Issue Details
Zooming triggers unnecessary "brushselected" events.
Expected Behavior
Zooming should not trigger a "brushselected" event, especially not when nothing is selected.
Current Behavior
Everytime you zoom, a "brushselected" event is triggered, which is bad for performance.
Online Example
Try zooming via mouse wheel, without having selected anything. See the event logged in the console.
https://codepen.io/anon/pen/MZJPaE
Topics
Anything Else We Need to Know
Environment
ECharts version;ECharts 版本: 4.2.0-rc.2
[ ] It happens only on certain browsers or operating systems. 对于特定浏览器或操作系统才会出现的问题,请提供相应环境信息:{BROWSER_VERSION_OR_OS_INFORMATION_HERE}