echarts [Bug] Custom series is not hidden after the legend is toggled off

osh3o9ms  于 2022-11-19  发布在  Echarts
关注(0)|答案(1)|浏览(204)

Version

5.3.2

https://codesandbox.io/s/condescending-proskuriakova-x4p4h1

Steps to Reproduce

  1. Toggle off both series 1 and 2
  2. Toggle on series 1
  3. Toggle on series 2
  4. Toggle off series 1

Current Behavior

Series 1 remains visible on the chart

Expected Behavior

Series 1 should be hidden

Environment

- OS:
- Browser:
- Framework:

Any additional comments?

  • When hovering on series 2, series 1 becomes hidden
  • Size of the series 1 remains unchanged when zooming
  • Only happens if series 1 has more than ~1.k lines

相关问题