[Bug] Prevent toolbox clicking rerender the chart
Version
6
Link to Minimal Reproduction
https://echarts.apache.org/examples/en/editor.html?c=scatter-simple&code=fU-xboQwDN3zFd6SFISgI7RDl26dOiKGAK4uKodR4krQE_9eB1TppvNg-z2_Z8sDzZFhdOwqeIW2U-qLApgJGbwQZSPlBapSQtoss3BTcOqL5SdeTJuZD8eXIrh5pKuxT1VpC6Z3v-Jonm0Oj-edbdSuFC3saZaDafv6tvpYw23PBWz3oA9yUoC0AEw09bTW0OqAA-sc9DfikuowoQu6S5bDFzF4lC3tYTztwm7XnqZP_4s1VEmWIr1Wnw_-U7wtotBxcMwY9MHukju1N38&enc=deflate
Steps to Reproduce
- click the box selection on the toolbar feature.
Current Behavior
The entire chart rerenders the points in the plot as seen by the progressive animation.
Expected Behavior
Could we prevent the rerendering? I know we can disable the progressive rendering but under the hood, it probably still rerenders and it causes performance issues for large data.
Environment
- OS: Windows
- Browser: Edge
- Framework: Vue@3
Any additional comments?
No response
Looks the same as #21301. Rerender is prevented with large:true, but then most points won't have tooltip and (probably) won't show in the selection either.
Clicking on a toolbox button should not trigger a rerender; it's a serious bug.
@helgasoft working on the issue
@helgasoft resolved in pr https://github.com/apache/echarts/pull/21375