imaNNeo / fl_chart

FL Chart is a highly customizable Flutter chart library that supports Line Chart, Bar Chart, Pie Chart, Scatter Chart, and Radar Chart.
https://flchart.dev
MIT License
6.87k stars 1.78k forks source link

Scroll the line chart horizontally and add a custom yAxis. #1575

Closed lvmaoya closed 9 months ago

lvmaoya commented 9 months ago

Because the line chart cannot be scrolled,I wrapped it with a SingleChildScrollView component. However, it created a new issue where the unit scale values of the y-axis are always displayed at the far left or far right. So, I customized a Column component to stack it and display the unit values, but I am having trouble accurately positioning it. Do you have any suggestions?

I am using the latest version.

57CD725EF08C6B1687A83B545FB93A8D

imaNNeo commented 9 months ago

Please follow #71 and mention your issue there. There are already some solutions by people, also I'm working to implement it internally.