imaNNeo / imaNNeo/fl_chart

LineChart Tooltip position when there are two LineChartBarData

Open
#673 1 comment 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

Is it possible to position one of the tooltip below the bar, another is above when there are two bar in one char?

Now, my chart is as below,

![image](https://user-images.githubusercontent.com/74166223/117792372-cc1c6080-b27d-11eb-93fc-6b8825d27626.png)

What I want is

![image](https://user-images.githubusercontent.com/74166223/117792233-b018bf00-b27d-11eb-8b9f-b45a7c82a196.png)

Is there any solution ? Thanks very much.

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the LineChart tooltip behavior with two LineChartBarData entries, using the screenshots and requested above/below placement as the expected result. Trace the existing tooltip positioning entry point and verify that the two tooltips can be positioned independently without changing the chart's other behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
dart, flutter
Domain
data-visualization
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.