echarts-bot[bot] commented on issue #19328: URL: https://github.com/apache/echarts/issues/19328#issuecomment-1824168591
@Julycc41 It seems you are not using English, I've helped translate the content automatically. To make your issue understood by more people and get helped, we'd like to suggest using English next time. 🤗 <details><summary><b>TRANSLATED</b></summary><br> **TITLE** [Bug] Listening to legendselectchanged data is accumulated **BODY** ### Version 5.2.2 ### Link to Minimal Reproduction https://codesandbox.io/p/sandbox/basic-area-chart-forked-jfgxlk?file=%2Findex.js%3A247%2C4 ### Steps to Reproduce When it was turned off for the first time, it changed from a stacked chart to a bar chart. But when it was turned on again, the legends of the stacked chart began to accumulate. ### Current Behavior When switching legendselectchanged, I thought that when a legend is turned off, the stacked chart is changed to a bar chart, and then when a legend is turned on, it is changed back to a stacked chart. But I found the data ### Expected Behavior When switching legendselectchanged, I thought that when a legend is turned off, the stacked chart is changed to a bar chart, and then when a legend is turned on, it is changed back to a stacked chart. But I found the data ### Environment ```markdown -OS: -Browser: - Framework: ``` ### Any additional comments? _No response_ </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org For additional commands, e-mail: commits-h...@echarts.apache.org