imaNNeo / imaNNeo/fl_chart

Side Title(Vertical title) is having issue of Number formtting.

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

Description

**Describe the bug**
The number formatting which apply on title(vertical) is not having second position after decimal.
**meta.formattedValue**

**To Reproduce**
We have this data set which causing this issue:

maxValue is: 1135594.3071679168
minValue is: 976405.2680708828
x: 0, y:1049550.99889424
x: 1, y:1032681.1983062401
x: 2, y:1032681.1983062401
x: 3, y:1032681.1983062401
x: 4, y:1033504.0804640201
x: 5, y:1024117.8552553
x: 6, y:1010675.09052292
x: 7, y:1006744.4631413
x: 8, y:1021600.3286772999
x: 9, y:1021600.3286772999
x: 10, y:1021600.3286772999
x: 11, y:1038208.11242706
x: 12, y:1034289.1268290201
x: 13, y:1014743.71962924
x: 14, y:1006603.3691452399
x: 15, y:1012741.06911348
x: 16, y:1012741.06911348
x: 17, y:1012741.06911348
x: 18, y:1055284.81036774
x: 19, y:1036546.7398758
x: 20, y:1008765.6606836999
x: 21, y:1020084.2986937
x: 22, y:1035795.66044208
x: 23, y:1035795.66044208
x: 24, y:1035795.66044208
x: 25, y:1007172.9746232401
x: 26, y:1032811.2496752401
x: 27, y:1049926.03464756
x: 28, y:1076699.0891717
x: 29, y:1102518.7448232202

**Screenshots**
Screenshot 2024-02-10 at 18 46 57

**Versions**

- which version of the Flutter are you using?
- 3.10.4
- which version of the FlChart are you using?
- 0.63.0

Contributor guide

Open the contributing guide

Research direction

Reproduce the issue in fl_chart 0.63.0 with the supplied maxValue, minValue, and x/y dataset, then trace how the vertical title uses meta.formattedValue. Done means the side title preserves the expected second decimal position for this data under Flutter 3.10.4.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
data-visualization, 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.