imaNNeo / imaNNeo/fl_chart

BarChar sample source

Open
#1,138 2 comments 0 reactions 0 assignees View on GitHub
Bar Chart enhancement good first issue
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**
In this sample source: https://github.com/imaNNeoFighT/fl_chart/blob/master/example/lib/bar_chart/samples/bar_chart_sample3.dart#L160

The barchart labels are duplicated:
![image](https://user-images.githubusercontent.com/57009004/188502849-249bbabd-d9a5-48a2-b5ca-96ee166a9941.png)

**To Reproduce**
These should be 4 and 5 respectively
![image](https://user-images.githubusercontent.com/57009004/188503199-7c2644a8-1bf5-4f69-9dba-964fe4875b2a.png)

**Versions**
- which version of the Flutter are you using? 3.0.1
- which version of the FlChart are you using? 0.55.1

I can add a pull request changing the numbers, however I wasn't sure that this was left on purpose for us to learn how to use the library, at first I thought this was a bug.

Contributor guide

Open the contributing guide

Research direction

Open example/lib/bar_chart/samples/bar_chart_sample3.dart around line 160 and inspect the bar-chart label values shown in the issue. Confirm which labels are duplicated and compare them with the expected values 4 and 5. Update the sample and run the relevant Flutter example or tests to verify that the labels render correctly.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
data-visualization
Issue type
Bug
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.