-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Loading data corrupts chart if previous transition is not finished #337
Comments
Hi, I agree to fix this issue. I think this solution might work:
This needs to be implemented within c3, but this solution might be able to be done by calling |
Thanks for looking into this. I tried your suggestion to flush(), but it doesn't really help. |
Thank you for trying. Umm.. Please give me some time. I'll try looking into this more. |
Hi,
I noticed nasty behavior if you quickly load new data without waiting for the end transition.
I have a couple of radio buttons in my project, that change the scope of chart, hence user can hit them quickly. It corrupts chart object meaning that any further loading of data does not correct it, but makes even worse. This is especially evident with grouped bar charts, please take a look at fiddle:
http:https://jsfiddle.net/e7ZbT/
Simple bar chart may get to inconsistent state if new data is loaded too quickly, but usually next load fix it, so it's not so critical. In contrast grouped charts cannot be corrected, unless refresh of the page.
Any suggestions are very welcome.
The text was updated successfully, but these errors were encountered: