imaNNeo / imaNNeo/fl_chart

multiple colors for same line based on y value

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

Description

hey nice job you're doing here i just want to reques politly for a simple feature to be added which is the ability to specify a different color for the same line based on the value of y like say i want my line to be green when its above 0 and red when its bellow
the effect can be achieved ib the current version buy using multiple line buts it gets a little messy removing and adding spots and calculating the intersections

Contributor guide

Open the contributing guide

Research direction

No file or test is named. Start by reviewing the line-chart API and the current multiple-line workaround described in the issue; define how y-value thresholds and crossings should determine segment colors, then verify the behavior with line-chart examples or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.