How to get tooltip/helpbox/infobox on chart or text?

Hello

I would like to know if it is possible to have tooltip button like for input widget but for chart or text.
image

Thank you

Hi @RobinsonBeaucour, welcome to the Streamlit community!

Currently, the ability to add a tooltip through Streamlit only works on input functions, not chart functions. In general, we’ve expected that users would want to add that kind of context through the visualization library, though we’re evaluating how to provide tooltips for all widgets inside of Streamlit in the future.

Best,
Randy

Thank you,
It could be a good complement of expander because they are more discreet.

2 Likes

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.