pie_chart icon indicating copy to clipboard operation
pie_chart copied to clipboard

Animate pie chart when data changes

Open Iyyappan-B opened this issue 3 years ago • 2 comments

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?

Iyyappan-B avatar Dec 06 '21 14:12 Iyyappan-B

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.

Petri-Oosthuizen avatar Mar 31 '22 10:03 Petri-Oosthuizen

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

yago1404 avatar Feb 26 '23 02:02 yago1404