-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 |
Still problematic with Impeller in Flutter v3.22.2 Looks like we might have to wait for flutter/flutter#149701 to be cherry picked. |
Still problematic with Impeller in Flutter v3.22.3 |
@imaNNeo, since you have the greatest level of detailed insight here, maybe you could open a ticket in flutter/flutter? P.S. Pie charts are also broken using Impeller. |
There's no special insight needed here, so you can just have a simple path with some lineTo, and path.close() call to reproduce it. But before that, we need to check to see if there is already an opened issue which is exactly related to this one. Otherwise, it would be nice if you open an issue. Because it needs some time to write the details and provide the reproducible code. So at the moment, I found a little time and I prefer to consume it for the fl_chart issues. So I appreciate if you follow it up and open an issue if it doesn't exist already. Cheers! |
Looks like this has been fixed in Flutter v3.24.1 🚀 |
Nice! Can others please validate the fix with their use cases? |
I found the app from that time and verified it again. Indeed, it was fixed. GGG.movVersions
|
Indeed. 😎 |
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: