pie_chart
pie_chart copied to clipboard
Animate pie chart when data changes
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?
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.
I have the same problem, but create a key dont work for me