Giter VIP home page Giter VIP logo

Comments (4)

felixdollack avatar felixdollack commented on July 22, 2024 1

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.

from fl_chart.

felixdollack avatar felixdollack commented on July 22, 2024

@SAOKIM99 can you try if adding duration: Duration.zero, to LineChart(...) solves the issue for you?
I just tried with the example app and it looks okay.

Screen.Recording.2024-07-10.at.0.18.22.mov

from fl_chart.

felixdollack avatar felixdollack commented on July 22, 2024

This issue was also mentioned and solved on stackoverflow.
The parameter duration was called swapAnimationDuration before version 0.66.0.

from fl_chart.

imaNNeo avatar imaNNeo commented on July 22, 2024

Yes exactly, you need to set duration: Duration.zero to fix this issue.

Thanks @felixdollack for contributing!

from fl_chart.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.