You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm embedding an Altair choropleth plot in an HTML page. Now I'm interested in a scenario when I click this map and receive the territory under selection (or its ID) I'm aware of simpler selection options in Altair (mostly from the Example Gallery that tie to other charts / aggregation / subsetting), but could not find any options to intercept the produced events on the client side. (which I believe would be JavaScript)
Does Altair offer any ways to register Vega event handlers to help with this implementation?
The text was updated successfully, but these errors were encountered:
Altair does not offer any way to register event handlers, beyond what's available in the Vega-Lite spec. That would have to be done in Javascript via the Vega view API: https://vega.github.io/vega/docs/api/view/#signals
I'm embedding an Altair choropleth plot in an HTML page. Now I'm interested in a scenario when I click this map and receive the territory under selection (or its ID) I'm aware of simpler selection options in Altair (mostly from the Example Gallery that tie to other charts / aggregation / subsetting), but could not find any options to intercept the produced events on the client side. (which I believe would be JavaScript)
Does Altair offer any ways to register Vega event handlers to help with this implementation?
The text was updated successfully, but these errors were encountered: