imaNNeo / imaNNeo/fl_chart

[Question/feature request] Manipulation of the TouchedSpotIndicator positions to allow for snap-to-while-near functionality

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

Description

I want to make the position of the TouchedSpotIndicator snap to specific positions while within a certain distance range relative to that point.

As far as I know there is no proper way of doing this at the moment. Correct me if I'm wrong, please.

My recommendation would be adding an argument for the positions of the touched spots in the `getTouchedSpotIndicator` function and allowing the user to pass a modified position to the `TouchedSpotIndicatorData` object or something similar.

Contributor guide

Open the contributing guide

Research direction

Locate getTouchedSpotIndicator and TouchedSpotIndicatorData, then trace how touched positions are currently represented. Define the API and snapping behavior, including the configurable distance range; done means a touched indicator can snap to specified positions while the pointer is nearby.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
data-visualization, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.