apache / echarts

Apache ECharts is a powerful, interactive charting and data visualization library for browser
https://echarts.apache.org
Apache License 2.0
60.63k stars 19.61k forks source link

Zooming triggers unnecessary "brushselected" events #9623

Closed thatsmeta closed 3 years ago

thatsmeta commented 5 years ago

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

rajpatelukyahoo commented 5 years ago

try dataZoom: [{show: false, type: 'inside', xAxisIndex: [0, 1], start: 0, end: 100, filterMode: 'fiter', disabled:true},],

github-actions[bot] commented 3 years ago

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.

github-actions[bot] commented 3 years ago

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!