Comments (4)
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.
@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.
This issue was also mentioned and solved on stackoverflow.
The parameter duration
was called swapAnimationDuration
before version 0.66.0.
from fl_chart.
Yes exactly, you need to set duration: Duration.zero
to fix this issue.
Thanks @felixdollack for contributing!
from fl_chart.
Related Issues (20)
- RangeError (length): Invalid value: Not in inclusive range 0..3: 4. Error thrown HOT 1
- How can I display both bar charts and line charts in the same chart? HOT 1
- Line chart is not rendered properly on iOS HOT 4
- Adding more lines to the same chart panel in realtime? HOT 9
- Improve performance on calculating minX, maxX, minY and maxY in axis-based charts
- Please, add gradient colours for the line depending on Y value for the LineChart (for example if y > 10 I need to set one color for the line, if y > 100 it should be another color) HOT 2
- Is it possible to scroll? HOT 2
- Get Rounded Cap at the End of a Donut Chart.
- Adding Option to add Custom Shadow to Charts
- Add or subtract from minX, miny, maxX and maxY HOT 1
- Dithering bug HOT 4
- more a question: Show titles before / beyond meta.min / max?
- extra line with some additional details HOT 1
- fixedLeftColumns is not reflecting using DataTable2 (Tested on web) HOT 3
- Scatter plot with different marker ? HOT 1
- displaying LineTooltipItem when clicking on SideTitleWidget HOT 2
- Side titles issue HOT 1
- Build failure with Flutter 3.22.2 HOT 2
- Hacky solution for zooming and displaying extra data / titles across the chart HOT 3
- BarChart Side Title Widget HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fl_chart.