imaNNeo / imaNNeo/fl_chart

Restrict value based on min(x,y) and max(x,y)

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

Description

I think it would be useful if the values were limited by min and max.
Currently, if I set maxX to 5, and when FlSpot(6, 4) exists, the spot would be drawn right after 5.

I'm new to this package, so if my understanding of this package is not enough, please tell me your suggestions.

Thank you!

Contributor guide

Open the contributing guide

Research direction

Start by tracing how maxX and min/max bounds are applied when rendering FlSpot values. Check the chart behavior with FlSpot(6, 4) while maxX is 5, then define completion as out-of-range values being restricted to the requested bounds and verify the behavior with chart tests.

Written by the indexing model from the issue text.

Assessment

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