Skip to content
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

Animate pie chart when data changes #77

Open
Iyyappan-B opened this issue Dec 6, 2021 · 2 comments
Open

Animate pie chart when data changes #77

Iyyappan-B opened this issue Dec 6, 2021 · 2 comments

Comments

@Iyyappan-B
Copy link

Iyyappan-B commented Dec 6, 2021

I am creating a transaction app where the pie chart data changes upon toggle of a button. The charts animate when the page initially opens. However on click of the toggle button, the pie gets updated with new data without any animation. Is that the intended behaviour?

@Petri-Oosthuizen
Copy link

You can kinda hack this by changing the key of the PieChart. Unfortunately, the chart will animate from the default position and not from where the values currently are.

@yago1404
Copy link

I have the same problem, but create a key dont work for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants