Skip to content
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

Support chart selections for multi-view vega-lite & altair charts #8643

Open
2 tasks done
LukasMasuch opened this issue May 12, 2024 · 1 comment
Open
2 tasks done

Comments

@LukasMasuch
Copy link
Collaborator

LukasMasuch commented May 12, 2024

Checklist

  • I have searched the existing issues for similar feature requests.
  • I added a descriptive title and summary to this issue.

Summary

We're soon going to add chart selections for Altair in Streamlit, via st.altair_chart(..., on_select="rerun"). However, this only works with simple charts and not with multi-view / composite charts - e.g. vconcat, hconcat, layered, and repeat. There are many edge cases to handle selections on these charts correctly, so we're disallowing them for now.

If you'd like us to implement support for selections on multi-view charts, please upvote this issue with a 👍 and let us know in the comments below what types of chart composition types you would like to use.

@LukasMasuch LukasMasuch added type:enhancement Requests for feature enhancements or new features feature:st.altair_chart feature:st.vega_lite_chart labels May 12, 2024
Copy link

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

@LukasMasuch LukasMasuch changed the title Support chart selections (with on_select) for multi-view vega-lite & altair charts Support chart selections for multi-view vega-lite & altair charts May 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant