tmtron opened a new issue #15154: URL: https://github.com/apache/echarts/issues/15154
### Version 5.1.2 ### Reproduction link [https://stackblitz.com/edit/echarts5-line-glitch?file=index.js](https://stackblitz.com/edit/echarts5-line-glitch?file=index.js) ### Steps to reproduce The Stackblitz example can reproduce it: * Just open the example, a timer will toggle the chart option 3 times very fast: after ~10ms. * You can manually press the `toggle` button slowly to see that it works fine, when there is enough time * When I press the `toggle` button very fast, I can sometimes reproduce the issue In production it is tricky to reproduce, since it seems to be a timing issue. I guess, that it may happen when 1. setOption (with merge) is called 2. and then setOption (with merge) is called again before 1 has finished the animation ### What is expected? The new data should be drawn and the old discarded.  ### What is actually happening? The merge operation seems to stop before updating to the new data.  --- Note: the stackblitz example is only to reproduce the issue. Of course we don't have these kinds of timers in the production application. But we have also seen this in the production app, where we may have a timer to update the chart e.g. every 10 seconds and the user can also update the chart manually. Now when the user updates almost at the same time as the timer, this issue is sometimes observerd. maybe related to: * https://github.com/apache/echarts/issues/6202 * https://github.com/apache/echarts/issues/10228 <!-- This issue is generated by echarts-issue-helper. DO NOT REMOVE --> <!-- This issue is in English. DO NOT REMOVE --> -- 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. For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
