-
Notifications
You must be signed in to change notification settings - Fork 3.9k
Closed
Labels
area:eventsfeature:chartsRelated to charting functionalityRelated to charting functionalityfeature:st.dataframetype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features
Description
What if every output element could also serve as an input widget?
Then you could do things like:
- User clicks on chart datapoint → python script receives the value for that data point and does something with it
- User zooms into a chart → python script receives the new zoom bounds and does something with it
- User clicks on dataframe rows → python script receives row index and does something with it
- User click on two points on an image → python script draws a rectangle touching those points
- User edits a row on a dataframe → python script receives the new dataframe
Related discussions:
- https://discuss.streamlit.io/t/hover-and-click-events/586
- https://discuss.streamlit.io/t/setting-data-from-javascript/965/2
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.
markopy, chengboonrong, MarcSkovMadsen, kinghuang, riyadparvez and 278 moreGitHunter0, dsepulvedag, codingCoffee, djouallah, dmarnerides and 34 more
Metadata
Metadata
Assignees
Labels
area:eventsfeature:chartsRelated to charting functionalityRelated to charting functionalityfeature:st.dataframetype:enhancementRequests for feature enhancements or new featuresRequests for feature enhancements or new features