-
Notifications
You must be signed in to change notification settings - Fork 767
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
.interactive only working with certain data types. #933
Comments
same issue -
results in
|
@Casyfill I don't think this is the same issue as mine since I am not getting an error. |
This is a known issue; see #679 and vega/vega-lite#3306 |
Jake, since my issue is not related to geo, should it be closed? |
Sorry, I thought it was related to geo. Reading more closely, it looks like your issue is that |
Yes, that was the issue. Thanks for clarifying. |
Would there be any way to make this work? As I can see vega-lite achieves pan and zoom by a grid selection https://vega.github.io/vega-lite/examples/selection_translate_scatterplot_drag.html. Is this only applicable to quantitative variables? I am trying to make a correlation matrix with many variables and being able to zoom in would be very helpful. |
Vega-Lite achieves pan/zoom behavior by binding an interval selection to The issue here is that interval selections bound to scales for non-quantitative encodings do not have any effect in Vega-lite, and from the linked issues this appears to be by design. So no, there currently is no way to make this work. |
Hi Altair users,
Is there a reason why adding ".interactive" does not work for the following example? I'm unable to pan or zoom. However if I use a temporal data type for the dates, then it works (although the rect marks now go on forever in the past).
With a temporal data type:
Any help is appreciated.
Al
The text was updated successfully, but these errors were encountered: