New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Tooltips on charts #5355
Comments
Hey @quantoid, thanks for flagging this! Edit: it sounds like this is what you're suggesting, assuming the tooltips aren't what you're looking for |
@carolinedlu no, this is about pop-up help for a whole dashboard, not just for individual datapoints on a chart or on the What we want is basically similar to |
@quantoid Thanks for clarifying! In that case it sounds similar to this open issue about pop-up modals. |
If I get that correctly, you just want tooltips everywhere, right? |
From @Casyfill:
|
Since 1.21, you can now add tooltips to most text elements. I.e. building on your original example, you could do something like this:
While this should solve the original request, the better solution to the original request would be to allow tooltips directly on chart elements! So I'll leave this issue open and change the title to reflect that. |
@sfc-gh-jrieke from my point of view this issue can be closed now that we have the |
Ok cool, closing! |
Problem
We find it difficult to make charts 100% self-explanatory. There is always some knowledge assumed, otherwise we'd have to put a load of text onto the dashboard that users only ever read once, after which it just becomes clutter. We've tried using
st.expand
but they still take up space when collapsed, and lots of them on a dashboard is not a great look.Solution
Provide a function called something like
st.help
orst.hint
that renders as a (?) icon, where hovering or clicking on the icon pops up a panel with the relevant help content.Basically similar to the help icons on input widgets like
st.selectbox
but with more space for help content.Community voting on feature requests enables the Streamlit team to understand which features are most important to our users.
If you'd like the Streamlit team to prioritize this feature request, please use the 👍 (thumbs up emoji) reaction in response to the initial post.
The text was updated successfully, but these errors were encountered: