Skip to content

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

@lukasmasuch

Description

@lukasmasuch

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:eventsRelated to event handlingfeature:st.altair_chartRelated to the `st.altair_chart` elementfeature:st.vega_lite_chartRelated to the `st.vega_lite_chart` elementtype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions