Support chart selections (with on_select
) for Altair v4
#8516
Labels
area:events
feature:st.altair_chart
type:enhancement
Requests for feature enhancements or new features
Checklist
Summary
We're soon going to add chart selections for Altair in Streamlit, via
st.altair_chart(..., on_select="rerun")
. However, this only works for Altair v5 today, whilest.altair_chart
without selections enabled supports both Altair v4 and v5. Supporting selections for v4 wouldn't be easy due to differences in the underlying JSON representation and the need to set up new testing infrastructure to test both versions in parallel. That's why we decided to cut it from the initial release.If you'd like us to implement support for chart selections with Altair v4, please upvote this issue with a 👍 and let us know in the comments below why you need v4 and can't upgrade to v5!
The text was updated successfully, but these errors were encountered: