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
Thorny LineChart #1625
Comments
I can confirm this behavior as well. Same version as @eloayoubi running on an iOS device. |
try this: #1618 to disable linechart's default animation. |
I have tried the suggestion to disable the animation for the Linechart with Duration.zero It did not fix this issue. As Workaround i have now set the LineChartBarData flag "isCurved" to true. It looks better than the current broken Chart. But it would be nice to have a fix for the thorny Line Problem. |
same issue since the Flutter 3.19.x update - fl_chart: 0.55.2 - only reproducible on iOS |
It seems to be related with Impeller renderer at Flutter version 3.19.x If it is not fixed, then it is not the Impeller. This is the issue on Flutter repository: Although is about gradient being dithered, it applies to those awkward lines. My own experience ;) |
Also, if after upgrading Flutter to 3.22 and the issue persists... Feel free to open an issue on the Flutter repo. :) |
@normidar @eloayoubi @luisbelo91 @ManuelRauber @hngouveia01 should we / you / I make a bug report on flutter/flutter? |
Hi, @techouse. Don't get me wrong, I know you're a tech savvy :) I'll get more info about this and report a bug about the Impeller. Thanks! |
@techouse, check this new PR merged in 3.23 and was present on 3.22 version: General fixes being merged: |
And it seems we have these two workarounds: jonahwilliams So we should fix this, but in this case you don't need/shouldn't use the Path.close at the end there. Because the fix is going to be ignoring it anyway |
I got it disabled via the Property list. <key>FLTEnableImpeller</key>
<false/>
Ah, so I guess this calls for a PR to |
Could be a solution! We are facing this problem too, so I'll give it a try this weekend and see what happens 😁 |
@hngouveia01 So I did what flutter/flutter#146648 (comment) suggests and tried naively removing
Unfortunately, I can see no changes. The line is still the same jagged line as in v0.68.0.
|
I found a few related issues:
And a PR that apparently fixes them flutter/engine#52978 |
Don't make a duplicate issue.
Okey
Describe the bug
Line LineChart is thorny.
To Reproduce
To show sensors data on Line Chart.(33 fps & show 100 data in LineChart)
Screenshots
RPReplay_Final1711956844.mp4
Versions
The text was updated successfully, but these errors were encountered: