imaNNeo / imaNNeo/fl_chart

line chart shows negative y-axis, but there are no negative numbers

Open
#1,593 4 comments 0 reactions 0 assignees View on GitHub
enhancement Line Chart
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.
Screen Shot 2024-02-22 at 19 05 11

**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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.