imaNNeo / imaNNeo/fl_chart

TouchtooltipData stay not updated when I put the cursor still.

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

Description

Nice contribution! Thank you!

I'm updating the FLSpot with Timer.
The data and the chart will update, but the data in `touchTooltip` will not when I put the cursor still.
Should I write touchCallback?

I'm new in flutter.
please tell me how to write it?

**Screenshots** The gif is shown as follows.
![2](https://user-images.githubusercontent.com/78476272/115987425-ab021180-a5e7-11eb-9a3d-bca7f8b8d6e4.gif)

**Versions**
- fl_chart: ^0.35.0
- Flutter (Channel master, 2.2.0-11.0.pre.242)

Contributor guide

Open the contributing guide

Research direction

No source file or test is named. Reproduce the issue with fl_chart 0.35.0 and Flutter 2.2.0-11.0.pre.242 using a Timer that updates FLSpot while the cursor remains still, then trace the touchTooltip update path; done means the tooltip reflects the updated data without requiring a new touch gesture.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.