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
Animation when changing pie data #39
Comments
It's a little bit more complicated for Pie component, as you have to animate the angle/radius instead of the shape, whereas you can just animate the shape for the line component, I'll probably add support for this, but it requires a little bit of work (and for optimal transitions, you should search closest previous angle). |
It would be a really great addition! |
is there any progress on this? |
Also, the |
I like pie. Animation would be cool! 🥇 |
We demand animated pie charts! OR! Thank you for this great library it is just superb |
pretty plz |
I also found this thread :( |
This issue has been automatically marked as stale. If this issue is still affecting you, please leave any comment (for example, "bump"), and we'll keep it open. We are sorry that we haven't been able to prioritize it yet. If you have any new additional information, please include it with your comment! |
This has been implemented and should be available in the upcoming release (no ETA yet), if you want to play with it you can already have a look at the codesandbox, just realized this issue is 3 years old, wow... |
amazing news thanks! |
Any word on a possible release date for the new version with animation? |
Waiting for the release !! |
Waiting in 2022 too. However, thanks for the great job you have done so far !!! |
@plouc is this not available in the current release? The docs indicate that it's on by default and I see it animating in the docs, but when I setup a pie chart in my repo I don't have any animations. |
@rtman, it's been released for some time now, and you can see it on https://nivo.rocks/pie/. |
@plouc Yea that is where I was seeing it animate correctly, maybe it's something to do with my setup. I'll try and create a codesandbox to repro. Below is how I'm using it right now.
|
@plouc Here's the codesandbox, I was able to get on hover animations working but not the initial mount one. Can you take a look? |
have same issue. Below is my setup.
I got this warning on my console.
I also tried the line chart with the default motionConfig. |
Great lib!
I was wondering why there were no animation when pie datas are updated?
It works for the line component for example and its nice.
The text was updated successfully, but these errors were encountered: