-
Notifications
You must be signed in to change notification settings - Fork 794
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
Transform filter from selection of temporal data is empty #828
Comments
Looks like it may be a Vega-Lite issue... I've started a discussion in vega/vega-lite#3737 |
Thanks. For issues that are possible Vega-Lite should I keep reporting them here, in both, or just there? |
It's up to you: free to just report issues here. I'm happy to echo them upstream where it's appropriate. |
From vega/vega-lite#3737, it sounds like this is due to a bug in vega-lite, and the recommended workaround is to use the |
I know this is a bit old, but just curious does this workaround work if you want to create the selection using fields rather than encoding? |
Ah sorry, I think I found the explanation here. Interval selections don't work for fields it seems. |
Update: still broken in Altair 3.0/Vega-Lite 3.2 |
@gschivley I am going through Altair issues to find those that have been resolved and can be closed. It looks to me like this issue has been solved in the latest version of Altair so I am closing it, but please feel free to reopen and add a comment if there is something you don't think is resolved yet. |
I'm trying to use
selection_interval
to show a histogram of values selected from a scatterplot. This works fine with quantitative data but fails with temporal data that has not been transformed.Initial plot with temporal
![image](https://user-images.githubusercontent.com/10373332/39872726-e6240f76-5436-11e8-8551-0219140edb29.png)
dt
on the x-axisEmpty bar chart/histogram when I select data in the scatterplot
![image](https://user-images.githubusercontent.com/10373332/39872747-f56a33d4-5436-11e8-8f9f-1e87f7cd771e.png)
Works fine with quantitative
![image](https://user-images.githubusercontent.com/10373332/39872897-70cabea4-5437-11e8-9875-98e43ad7cdd8.png)
counts
on the x-axisAlso works when
![image](https://user-images.githubusercontent.com/10373332/39873005-c71073b2-5437-11e8-883f-f15d1f545789.png)
dt
is transformedThe text was updated successfully, but these errors were encountered: