-
-
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
FlGridData vertical line not showing #92
Comments
Hi, since 0.3.4 version, we swapped the |
Heloo? |
@imaNNeoFighT I tried switching to 0.3.3. drawVerticalGrid affects Horizontal line. But drawVerticalGrid=true doesn't show the vertical grid. |
You are correct, but it is not important to make breaking changes. |
Thanks @imaNNeoFighT |
You're welcome! |
Hi there, It has been renamed in 0.6.0. |
I have the same problem. Version 0.36.1 |
@Serty32 What is your problem exactly? |
@imaNNeoFighT Vertical lines are not visible. |
Okay got it. we decided to remove the horizontal value concept from the BarChart. That's why we don't show anything. |
I've got a very dense bar chart where vertical lines would help with orientation of matching bottom labels to mapped values. So in my case it would be great to have vertical grid lines even for a bar chart. |
Hey please can I get the flutter code you used to create this? |
Hello,
Thank you for the great library.
I found a problem while using this library. Vertical Gridline is not showing using this code:
gridData: FlGridData( show: true, getDrawingHorizontalGridLine: (value) { return FlLine( color: ColorRes.button_border, strokeWidth: 1); }, checkToShowHorizontalGrid: (value) { final val = _maxY / 100; if (value % (val.floor() * 50 / val.floor()) == 0) { return true; } return false; }, getDrawingVerticalGridLine: (value) { return FlLine( color: ColorRes.button_border, strokeWidth: 5); }, checkToShowVerticalGrid: (value) => true, drawHorizontalGrid: true, drawVerticalGrid: true),
This is the result. Only horizontal grid is showing.
The text was updated successfully, but these errors were encountered: