imaNNeo / imaNNeo/fl_chart

Custom line painter

Open
#1,354 0 comments 1 reaction 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.