Dot Color?
Nobody has claimed this yet.
- Dominant language
- Dart
- Stars
- 7.6k
- Forks
- 2k
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 2
Description
Im trying to make as simple line graf.. where i show higher values in more **Red**... and lower values in more **Yellow**.
The graf works fine... but when the DOTS appear... its WIERD!?!?
for some reason the dot colors dont follow the same pattern as the **Line's Gradient... OR... belowBarData**
AND
I cant find any way to edit them either.
```
isCurved: true,
colors: gradientColors.map((color) => color.withOpacity(0.9)).toList(),
gradientFrom: Offset(0.5,0),
gradientTo: Offset(0.5,1),
barWidth: 3,
// dotData: FlDotData(show: false),
belowBarData: BarAreaData(
show: true,
gradientFrom: Offset(0.5,0),
gradientTo: Offset(0.5,1),
colors: gradientColors.map((color) => color.withOpacity(0.3)).toList(),
```
but the result is:

**please notice the last 2 dots are totally following some other pattern**
feels more as if they are following a left to right gradient!
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the supplied line-chart configuration, focusing on the final two dots and their gradient behavior. Inspect the line-chart dot rendering and gradient handling; done when dot colors follow the intended value-based gradient and a regression check covers the case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- data-visualization
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100