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

Returning the selected string value from selection_single #2659

Closed
JuliusSempio opened this issue Jul 20, 2022 · 2 comments
Closed

Returning the selected string value from selection_single #2659

JuliusSempio opened this issue Jul 20, 2022 · 2 comments

Comments

@JuliusSempio
Copy link

Good day. I've been wrapping my head for hours about solving this issue by searching for the solution online, to no avail. So I decided to try to directly ask from Altair devs.

I am trying to automate the generation of the title of the scatter plot for convenience purposes, but I can't find proper documentation on accessing the selected value in the selection_single dropdown component. The following screenshot should give the idea on what I am trying to achieve.

Screenshot 2022-07-20 151207

Any help will be appreciated :)

@joelostblom
Copy link
Contributor

To get the string value in the title, Vega-Lite would need to support the use of parameters in title but this is not yet supported as per vega/vega-lite#7365 (comment)

@JuliusSempio
Copy link
Author

Good afternoon. Thanks for the prompt reply. Then it's the hard way for me for now then :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants