Custom line painter
Open
Nobody has claimed this yet.
enhancement
Line Chart
- Dominant language
- Dart
- Stars
- 7.6k
- Forks
- 2k
- Avg merge
- 9d 1h
- Merged PRs (30d)
- 2
Description
Hi, I wonder if `fl_chart` can accept a custom line painter to control the behaviour of painting the line? Just similar to the dot painter, the line painter callback should pass along all spots and the offset of each spot, so that we can paint the line as a whole or paint each segment separately.
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
Start by tracing fl_chart's line-chart painting and comparing it with the existing dot-painter behavior. Define the custom line painter's inputs as all spots and their offsets, then verify that it can paint the whole line or individual segments as requested.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- dart, flutter
- Domain
- data-visualization
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100