We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation .
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
The current animation options are true and false, and when true, the entire chart is redrawn from scratch on every data update. This is fine for static data that is set once or possibly updated by user action, but it's not useful for real-time data where updates are coming in periodically. The "solution" for now is to disable animation. But I'd like to suggest a third animation option: morph. In this mode, the graph would morph from its present state to the state with the new data. This would make for a very smooth display of real-time data.
The text was updated successfully, but these errors were encountered:
@Eric24 Yeah, we're refactoring animation.
Sorry, something went wrong.
@Eric24 Did you implement any kind of workaround in the meantime? I turned off animation for now but not a great alternative...
@kartboy16 - I just turned off animation. It's not a major issue for us. "Delta" animation would be great, but it doesn't affect the functionality of our application.
@xile611 it's awesome that the library is so actively maintained! Thank you!
would like to see this too
@kartboy16 I managed to do what @Eric24 was describing, but only by preventing the data being sent within my actions if it was the same as it was last time.
actions
This caused some re-factoring but now makes my charts more dumb which I like.
how to do smoothly update? is there a solution? set isAnimationActive={false} on <Line/> ?
isAnimationActive={false}
<Line/>
Looking forward to progress on this. Having a pie chart section "expand" when it's value increases will be amazing.
I'm very interested in seeing this happen. We are considering using Recharts as one of our primary charting libraries, but we need the animations to update from the past value vs from zero. If having additional people working on it could help, myself and a coworker are willing to contribute.
Just another note to send much love to you guys, and add a +1 to this issue. I know you're working on it, so yeah, just saying I appreciate it.
+1 for the RadialBarChart.
I see that the Animation Refactor landed in 1.0.0 beta, but transitioning between datasets is still kind of wonky - are there plans for additional updates in this area?
I think there is currently a bug with the Customized Label. If you go to http://recharts.org/#/en-US/examples/PieChartWithCustomizedLabel directly, the customized label will be drawn. But if you go to any other link first such as http://recharts.org/#/en-US/examples/SimpleScatterChart then click on "PieChartWithCustomizedLabel", then the customized label won't be drawn.
@camflan I ended up adding a key prop to the component based on data to force a re-draw.
key
data
Any update on the smooth transition? Victory charts handles this smoothly but if possible I'd like to use recharts, this is holding me back.
It has been 2019 now ??,any update?
Could I kindly ask, why this has been closed (and without any further ado) after 3 years of being open? Especially since, based on the initial comments, it looked like there's a chance for this to get implemented.
That's easy: Too many open tickets? close the old ones.
Wow, amazing approach ^^" do you do it with bugs as well?
Re-open +1
Any updates here?
Seems we have to open a new ticket
Re-opened. Thanks for commenting - gave me visibility that this issue even exists exists. I don't have publish permissions on react-smooth (animation library) though so changes to animation are tough to get out
No branches or pull requests