imaNNeo/fl_chart

Above/Below graph positioning of tooltips

Open

#890 geöffnet am 2. Feb. 2022

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Dart (1.964 Forks)batch import
Line Chartenhancementgood first issue

Repository-Metriken

Stars
 (7.513 Stars)
PR-Merge-Metriken
 (Keine gemergten PRs in 30 T)

Beschreibung

** Don't make a duplicate issue. Didn't see any other request for this

Is your feature request related to a problem? Please describe. Currently labels often cover the line graph making it hard to see.

Describe the solution you'd like I'd like to be able to, on a per-tooltip basis, specify whether the tooltip should be shown above or below the line graph.

Describe alternatives you've considered I've tried messing around with the padding/margin but that doesn't give me enough control and is not specified per-tooltip. I also considered using showOnTopOfTheChartBoxArea but in this particular case, where I want a tooltip for the max and min value, it is much more clear what the label means if the min tooltip is on bottom.

Additional context See attached image. Screenshot_20220202-160400

Suggestion Perhaps a counterpart to ShowOnTopOfTheChartBoxArea and also making those values settable on a per-tooltip basis would be a good approach.

Contributor Guide