imaNNeo / imaNNeo/fl_chart

[LineChart] Proposal: TooltipItem with Widget child.

Open
#72 27 comments 36 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement Fundamental
Dominant language
Dart
Stars
7.6k
Forks
2k
Avg merge
9d 1h
Merged PRs (30d)
2

Description

Tooltips in line chart are a really cool feature, but would be even cooler if we could customize it a bit more.

Making the child a widget become very versatile. It would allow to add a title with a custom style below the spot value or even an image.

Proposal | Now
:-------------------------:|:-------------------------:
Captura de pantalla 2019-09-28 a las 11 54 37 | Captura de pantalla 2019-09-28 a las 11 54 37

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 reading the existing LineChart tooltip implementation and the Flutter widget API. Define how a TooltipItem with a Widget child should expose customizable content, including text styling and images, then verify that the proposed tooltip rendering works without breaking current behavior.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.