apache / echarts

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

[Bug] When I set hideOverlap:true, if I click on the legend manually, some labels will not be displayed. #19985

Open Lazydd opened 5 months ago

Lazydd commented 5 months ago

Version

5.5.0

Link to Minimal Reproduction

https://echarts.apache.org/examples/zh/editor.html?c=line-simple&code=PYBwLglsB2AEC8sDeAoWszGAG0iAXMmuhgE4QDmFApqYQOQCGAHhAM73EC-ANMdtRrQAJoVQlYwxmEaEA2k3o9Y9AEb0Autz7pmAQVZsxxdGACeIagwDG0wcFJmlJydNmwFAWRhKVAFQBXal96AHVqYRC_AAsAkIAxchCAZWkUgOgQtgzNbWIzA3ZjCXNLBgA3Rmwg53ReYjZaCGojDxdxCVhoRgBbKxVGWs6pGXkABmUJ2CmARgBWKYBmAE4AFmU51bnlRZmANg2D6Y0dTtL--mwIaGDTiTYzHtUcGwhSawEh-56sMGjCMCkIJ3EjYRiqajYYqddBsaLAADuAKB1BBEhAwDYEEgMAYmBAX061hwDgYAGIxpTCRIAGYwMDJCAAL36MwATC46mjYGCIdgADKMMzAAJgaEw6IQYTUADy5VoYIIZCCnNgXBc9QkHQk3T6DHU3JG7jkU1NynmRy2AA5lHs5ssdnMAOyHSYnVXnBhXG7U2APJ4vFTWN4fW6qtg_YB_ZHA1W8yHizpwxEx1Gq9AYrE46B40C-9DE7CklQUqnc9B06AM5msjkwzWdeMCoUisVEGHoSXSuUKxhKwEq-sa4haLgAbiAA

Steps to Reproduce

image

image

When both are shown, the overlapping ones are hidden, but when only one is shown, only the overlapping one should be hidden.

Current Behavior

Non-overlapping ones are hidden

Expected Behavior

Non-overlapping ones are displayed

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

No response

Lazydd commented 5 months ago

Before 5.2.0, it was good

Lazydd commented 5 months ago

@helgasoft