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

[Live graph] Errors such as noise in the live graph #1654

Open
SAOKIM99 opened this issue May 8, 2024 · 1 comment
Open

[Live graph] Errors such as noise in the live graph #1654

SAOKIM99 opened this issue May 8, 2024 · 1 comment

Comments

@SAOKIM99
Copy link

SAOKIM99 commented May 8, 2024

When I use the live graph with the value Double, the phenomenon like the video occurs.
The initial signal will fill until full (100 point limit), at which point the graph displays normally.
When it's full, the item is deformed and noisy.

I modified the word /line_chart_sample10.dart and replaced it with this code:
sinPoints.add(FlSpot(xValue, random.nextDouble()));
cosPoints.add(FlSpot(xValue, random.nextDouble()));

Hope to get support soon.

screen-20240508-112621.1.mp4
@felixdollack
Copy link

felixdollack commented Jun 13, 2024

I do have a project that worked fine with fl_charts 0.55.2 and flutter 3.16.0 (dart 3.2.0).
(Note: amplitude changes are due to auto scaling.)

Screen.Recording.2024-06-14.at.2.41.40.mov

Now I am using fl_charts 0.66.2 and flutter 3.22.2 (dart 3.4.3) and see the same junky graph.

@imaNNeo After some testing I found the problem is introduced in fl_charts version 0.63.0.
Edit 2: I tried using random values as @SAOKIM99 did, while trying any of the here mentioned versions of fl_charts and flutter, and all show noise behavior.

See how the graph changes when I stop the scrolling for a moment:

Screen.Recording.2024-06-14.at.2.51.40.mov

Edit 1: I just tried flutter 3.22.2 with fl_chart 0.62.0 (only needed to replace MediaQuery.boldTextOverride with MediaQuery.boldTextOf) but I see the same noises behavior.

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