imaNNeo / imaNNeo/fl_chart

Display tooltip when pressing a point in a line containing multiple points that all have the same x value.

Open
#915 5 comments 0 reactions 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

** Don't make a duplicate issue.
It does not appear to a similar issue for this (if there is, i apologise).

Thank you for a great package!
After many tries there does not seem to be a way to display a tooltip when pressing a singular point in a line that has multiple points that all have the same x value in a graph.

Screenshot 2022-02-23 at 10 22 03
Screenshot 2022-02-23 at 10 22 44

Am i missing something. The touchCallback function always returns the lowest point on the line when clicking other points.

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 reproducing the chart interaction described around the touchCallback with multiple line points sharing the same x value. Trace how the callback selects a point and verify that pressing each visible point displays its corresponding tooltip rather than always selecting the lowest point.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
data-visualization, mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.