echarts icon indicating copy to clipboard operation
echarts copied to clipboard

[Bug] Prevent toolbox clicking rerender the chart

Open YuqiaoS opened this issue 1 month ago • 3 comments

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

  1. 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

YuqiaoS avatar Nov 13 '25 11:11 YuqiaoS

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 avatar Nov 13 '25 17:11 helgasoft

@helgasoft working on the issue

Srajan-Sanjay-Saxena avatar Nov 14 '25 17:11 Srajan-Sanjay-Saxena

@helgasoft resolved in pr https://github.com/apache/echarts/pull/21375

Srajan-Sanjay-Saxena avatar Nov 14 '25 19:11 Srajan-Sanjay-Saxena