Skip to content
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

LineChart issue when consecutive values are 0 #804

Closed
chrisvidal opened this issue Oct 27, 2021 · 2 comments
Closed

LineChart issue when consecutive values are 0 #804

chrisvidal opened this issue Oct 27, 2021 · 2 comments

Comments

@chrisvidal
Copy link

chrisvidal commented Oct 27, 2021

To Reproduce
Provide a list of consecutive values equal to 0, and you will see the line going below the 0 bottom as per screenshot

Screenshots
image

Versions

  • Flutter 2.5
  • FlChart fl_chart: ^0.40.2
@chrisvidal chrisvidal changed the title LineChart issue when values are 0 LineChart issue when consecutive values are 0 Oct 27, 2021
@jlnrrg
Copy link

jlnrrg commented Nov 10, 2021

This happens because you set the LineChartBarData isCurved to true, but not preventCurveOverShooting to true.
For more information read the Documentation or the issue #25.

@chrisvidal
Copy link
Author

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants