Fl_chart: [LineChart] Proposal: TooltipItem with Widget child.

Created on 28 Sep 2019  路  4Comments  路  Source: imaNNeoFighT/fl_chart

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

Fundamental enhancement

Most helpful comment

Hi, currently the tooltip is drawn by the canvas,
but we can handle it by a widget.
stay tuned!

All 4 comments

Hi, currently the tooltip is drawn by the canvas,
but we can handle it by a widget.
stay tuned!

Hi there ! That feature could really make this package one of the best available, I'm currently looking for this feature for my company, do you have any idea when we could expect this to be released ?

Hi,
Can you implement this feature as soon as possible. Our company also need this.
Thanks for the hard work you are doing.

Hi, check out our new release: 0.35.0

children property added in the LineTooltipItem, BarTooltipItem and ScatterTooltipItem which accepts a list of TextSpan. It allows you to have more customized texts inside the tooltip.

Check below examples:

BarChartSample 1 (Source Code)

ScatterChartSample 2 (Source Code)

Was this page helpful?
0 / 5 - 0 ratings