line chart shows negative y-axis, but there are no negative numbers
- Dominant language
- Dart
- Stars
- 7.6k
- Forks
- 2k
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 2
Description
** Don't make a duplicate issue.
You can search in issues to make sure there isn't any already opened issue with your concern.
**Describe the bug**
A clear and concise description of what the bug is.
**To Reproduce**
Provide us a completely reproducible code (contains the main function) in a `main.dart` file, it helps us to find the bug immediately.
**Screenshots**
If applicable, add screenshots, or videoshots to help explain your problem.
**Versions**
- which version of the Flutter are you using?
$ flutter --version
Flutter 3.19.0 • channel stable • https://github.com/flutter/flutter.git
Framework • revision bae5e49bc2 (13 days ago) • 2024-02-13 17:46:18 -0800
Engine • revision 04817c99c9
Tools • Dart 3.3.0 • DevTools 2.31.1
- which version of the FlChart are you using?
fl_chart: ^0.66.2
Contributor guide
Research direction
Start by reproducing the line-chart behavior in a main.dart file using Flutter 3.19.0 and fl_chart 0.66.2, as requested in the issue. Inspect the line-chart axis behavior with the nonnegative data shown in the screenshot. Done means the chart no longer displays a negative y-axis when its data contains no negative values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100