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

I can't find how to disable linechart's default animation. #1618

Open
e4ky opened this issue Mar 28, 2024 · 2 comments
Open

I can't find how to disable linechart's default animation. #1618

e4ky opened this issue Mar 28, 2024 · 2 comments

Comments

@e4ky
Copy link

e4ky commented Mar 28, 2024

In the documentation I see that the duration and type of animation can be controlled by swapAnimationDuration and swapAnimationCurve, which in the current version of "fl_chart: ^0.66.2" have been changed to duration and curve, but neither of these attributes disable the animation effect.
I tried this by setting the animation duration to 0, but found that there seemed to be a problem with performance.
image
Looking forward to your guidance.

@e4ky
Copy link
Author

e4ky commented Apr 10, 2024

I saw it in the document:
image
But the current version does not have the swapAnimationDuration attribute, only duration. Can I use "duration: Duration.zero" to disable animation?

@brokenhun666
Copy link

I also kindly ask for an answer to this.

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

2 participants