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

fix: render altair layered charts (dedupe selection params) #927

Merged
merged 1 commit into from
Mar 9, 2024

Conversation

mscolnick
Copy link
Contributor

@mscolnick mscolnick commented Mar 9, 2024

This fixes a bug, but also uncovers another bug that is not fixed.

This fixes rendering layered charts with multiple selection. If there are multiple layers with multiple point selections, we would give the params the same name which would cause errors. We now dedupe them

This also uncovers that we don't support selection in timeUnit aggregations. so doing month(date) makes it hard for us to back into filter the date by a month. This is because month(date) is an binning function that altair performs on the frontend. but the backend does the filtering and does not have this transformation.

Copy link

vercel bot commented Mar 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 9, 2024 1:28am
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 9, 2024 1:28am

@akshayka akshayka merged commit fbbf3ac into main Mar 9, 2024
29 checks passed
@akshayka akshayka deleted the ms/altair-rendering branch March 9, 2024 20:33
@github-actions github-actions bot locked and limited conversation to collaborators Mar 9, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants