You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
setOption is called
and then setOption 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 observed.
Hi! We've received your issue and please be patient to get responded. 🎉
The average response time is expected to be within one day for weekdays.
In the meanwhile, please make sure that it contains a minimum reproducible demo and necessary images to illustrate. Otherwise, our committers will ask you to do so.
A minimum reproducible demo should contain as little data and components as possible but can still illustrate your problem. This is the best way for us to reproduce it and solve the problem faster.
You may also check out the API and chart option to get the answer.
If you don't get helped for a long time (over a week) or have an urgent question to ask, you may also send an email to dev@echarts.apache.org. Please attach the issue link if it's a technical question.
If you are interested in the project, you may also subscribe our mailing list.
Version
5.2.1
Reproduction link
Steps to reproduce
The Stackblitz example can reproduce it:
toggle
button slowly to see that it works fine, when there is enough timetoggle
button very fast, I can sometimes reproduce the issueIn production it is tricky to reproduce, since it seems to be a timing issue.
I guess, that it may happen when
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 observed.
maybe related to:
The text was updated successfully, but these errors were encountered: