-
-
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
Cannot add FlSpot with same "y" in LineChart #879
Labels
Comments
HoseinHaqiqian
changed the title
Cannot add FlSpot with only "x" difference in LineChart
Cannot add FlSpot with same "y" in LineChart
Jan 17, 2022
same problem |
how to solve: int maxValue = 0;
for (var item in myListValue) {
if (item > maxValue) {
maxValue = a;
}
}
if (maxValue == 0) {
maxValue = 10;
}
return LineChartData(
// lineTouchData: lineTouchData1,
// gridData: gridData,
// titlesData: titlesData1,
// borderData: borderData,
// lineBarsData: ...,
// minX: ...,
// maxX: ...,
minY: 0.toDouble(),
maxY: maxValue.toDouble(),
); |
This was referenced Jan 22, 2022
As I explained in the issue template, Please provide me a reproducible code (a main.dart file). |
imaNNeo
added a commit
that referenced
this issue
Jan 29, 2022
imaNNeo
added a commit
that referenced
this issue
Jan 29, 2022
imaNNeo
added a commit
that referenced
this issue
Jan 29, 2022
imaNNeo
added a commit
that referenced
this issue
Jan 29, 2022
imaNNeo
added a commit
that referenced
this issue
Jan 29, 2022
imaNNeo
added a commit
that referenced
this issue
Jan 29, 2022
imaNNeo
added a commit
that referenced
this issue
Jan 29, 2022
imaNNeo
added a commit
that referenced
this issue
Feb 12, 2022
Hi. |
imaNNeo
added
bug
Something isn't working
Line Chart
and removed
Needs Reproducible Code
labels
Feb 12, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, i was going to add some Spot to the chart with same "y" and different "x".
but i ran into an error :
i'm using fl_chart : ^0.41.0
The text was updated successfully, but these errors were encountered: