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

pie chart starts flickering after some time #94

Open
raphaelbogner opened this issue Mar 17, 2023 · 4 comments
Open

pie chart starts flickering after some time #94

raphaelbogner opened this issue Mar 17, 2023 · 4 comments

Comments

@raphaelbogner
Copy link

I am using the pie chart in my flutter-tizen app. After some time (half an hour or so) the pie chart starts flickering randomly. And it gets more extreme as more time passes. I attached a GIF of the flickering in a relative low state. Is that a known issue of the pie chart? Or is that somehow a wrong implementation on my side?
flickering_pie

@apgapg
Copy link
Owner

apgapg commented Mar 19, 2023

Are we sure data isnt changing?

@raphaelbogner
Copy link
Author

Yeah for sure. The data is not changing. I already checked that.

@Jim-Blair
Copy link

Encountered the same issue

@inhohwangg
Copy link

inhohwangg commented Jul 24, 2024

With the RepaintBoundary widget, re-rendering only occurs when the widget tree in that area changes, so you don't have to redraw the entire screen, reducing flicker.

Set the animationDuration to 0

animationDuration: Duration(milliseconds: 0),

Simply wrap a PieChart widget with a RepaintBoundary

Try it

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

4 participants