Tooltip 'x' String Repeats for Each Data Point in Line Chart #1727
Unanswered
omeriakyuz
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am experiencing an issue with the LineTooltipItem in my Flutter project using the fl_chart package. The tooltip displays the time(x) string for each data point, but I want the time string to appear only once at the top of the tooltip. I want it to look like this instead of like the picture below:
"14.00
16.8 °C
15.3 °C"
Here's code snippet and image of current situation:
Additional information: I tried to define value for time string and insert it to TooltipItems list as first item. But It threw this "Exception: tooltipItems and touchedSpots size should be same". Code for this one:
Beta Was this translation helpful? Give feedback.
All reactions