imaNNeo / imaNNeo/fl_chart

fl_chart crashed if all the value are negative in bar chart

Open
#1,742 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Dart
Stars
7.6k
Forks
2k
Avg merge
9d 1h
Merged PRs (30d)
2

Description

**Describe the bug**
fl_chart crashed if all the value are negative in bar chart

**To Reproduce**
Input all negative values in a bar chart

**Versions**
- which version of the Flutter are you using? 3.24.1
- which version of the FlChart are you using? 0.68.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the crash by creating a bar chart with only negative values using Flutter 3.24.1 and fl_chart 0.68.0. Start at the bar chart entry point and trace the failure, then add a regression test covering all-negative data. Done means the chart renders without crashing for that input.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.