-
-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Bar graphs draw below the bottom axis when minY is set #404
Comments
Would it work to change lines 209 and 237 of bar_chart_painter.dart (https://github.com/imaNNeoFighT/fl_chart/blob/master/lib/src/chart/bar_chart/bar_chart_painter.dart#L237) from
to fix the issue? |
Hi, sorry for the late answer, |
And thanks for your great explanation. |
@imaNNeoFighT Thanks for the answer. Looks like our project is blocked by this issue. Do you have any updates? |
Okay, |
Sorry for the delay, fixed in 0.11.1, Thanks for reporting and contributing. |
@imaNNeoFighT Thanks for the effort. Much appreciated! |
…(for negative) values bug, imaNNeo#404.
When using a bar graph, if the minY value is set on the BarGraphData then the bars draw below the bottom axis covering the titles.
The can be reproduced with the example application. Open the file bar_chart_sample3.dart and add
minY: 5
at line 21 (just above the linemaxY: 20
).Here is how it looks without a maxY value set
Here is how it looks with a maxY set to 5
Flutter 1.17.5
FlChart 0.11.0
Thank you for a great library!
The text was updated successfully, but these errors were encountered: