imaNNeo / imaNNeo/fl_chart

Add Offset for TouchLineBarSpot in touchCallback response

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

Description

**Is your feature request related to a problem? Please describe.**
Currenly I can show custom tooltip for needed spot. However, I only have access to offset of event coming from touchCallback. Which creates an issue of showing tooltip exactly on the spot offset.
I tried to redefine distanceCalculator, but it didn't help.

**Describe the solution you'd like**
Would be nice to get the spot Offset from touchCallback response [TouchLineBarSpot].

Contributor guide

Open the contributing guide

Research direction

Start by tracing the TouchLineBarSpot type and the touchCallback response described in the issue. Determine where the spot's offset should be exposed, then verify that a custom tooltip can use it and that existing chart behavior remains intact.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.