fl_chart
fl_chart copied to clipboard
Feature - Horizontal scroll implementation line chart example
Hello @imaNNeoFighT
I had made an example to allow users to scroll the graph content, and I think it might be useful to some people, I am not sure if this feature is need to implemented inside the lib, but at least this is how I would be doing it.
Thanks
Codecov Report
Merging #1068 (10bf690) into master (0212c73) will not change coverage. The diff coverage is
n/a
.
@@ Coverage Diff @@
## master #1068 +/- ##
=======================================
Coverage 86.32% 86.32%
=======================================
Files 45 45
Lines 2808 2808
=======================================
Hits 2424 2424
Misses 384 384
:mega: Codecov can now indicate which changes are the most critical in Pull Requests. Learn more
Wow! That's amazing. I like your approach to handling this issue. As you might know, we have an ancient issue #71 from two years ago to handle the horizontal scroll.
I think it's better to handle it internally. You can find the AxisChartScaffoldWidget to get started.
Now I checked the Flutter source code. I think we can use the Scrollable
widget (parent of ListView, GridView, SingleChildScrollView, ....). In this way, we can use the flutter's approach to handle the scroll (interactions, physics, etc).
Let me know what do you think?
I got what it take but I’m still confusing on how to begin Sony wanna make a mistake