-
-
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
BarAreaData does not exist. Grid lines inverted property name #85
Comments
Hi there,
|
I'm using fl_chart: ^0.2.0. Then called the Widget from main.dart. |
As you know samples are implemented by the latest version. |
Horizontal And Vertical semantics in FlGridData has corrected in 0.3.4, |
Hey! First of all, thanks for this great library, I was searching like crazy through internet and only found charts_flutter, and then last week I accidentally came across this one and it's so beautiful, nice work :)
Anyway, I was implementing the Line Chart with one of your examples given
(https://github.com/imaNNeoFighT/fl_chart/blob/master/example/lib/line_chart/samples/line_chart_sample2.dart)
and there was an error that said that BarAreaData does not exist (in property
belowBarData
). I looked at the kind of data that the property expected to receive and it wasBelowBarData
(sounds logic). I don't know if it's a mistake in the docs or just a miss, but just saying so you can change it and future devs don't come across the same.Also, there is another issue that I'll also say here for not issuing two times. In the class
FlGridData
, there are two properties:getDrawingVerticalGridLine
andgetDrawingHorizontalGridLine
. I don't know if it was intended, but the getDrawingVerticalGridLine modifies the horizontal lines and the other way around, which is kind of weird. Is this the correct way? :/However, these are little things in case I can help improve a bit this amazing library. Thanks again for it! :)
The text was updated successfully, but these errors were encountered: