streamlit / streamlit

Streamlit — A faster way to build and share data apps.
https://streamlit.io
Apache License 2.0
34.54k stars 2.99k forks source link

plotly_chart support for click event #8824

Open rapiz1 opened 3 months ago

rapiz1 commented 3 months ago

Checklist

Summary

Support click event like in dash

Why?

on_select doesn't work on lineplot at all because of the lack of click event

How?

No response

Additional Context

This can be workaround by adding markers to the lineplot and only click on markers

github-actions[bot] commented 3 months ago

To help Streamlit prioritize this feature, react with a 👍 (thumbs up emoji) to the initial post.

Your vote helps us identify which enhancements matter most to our users.

Visits