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
For folks running into this: I was able to work around this by making a mini chart with mark_bar and only a y axis to form legend-like squares, adding the selection to that too, and then concatenating that to the left of my chart to look like a legend.
Hi @makmanalp, apologies for the slow response here. This doesn't look like a bug. When a selection is bound to a legend, the selection's field/encoding should match the legends. For your spec, the legend corresponds to the color channel and field. So, if we switch "fields": ["keyspace"] to "fields": ["color"] instead, clicking the legend works as expected. Hope that helps!
coming here from: vega/vega-embed#351
Reproduced this in the latest version of jupyterlab as well as the online editor:Open the Chart in the Vega Editor
expected behavior: clicking legend updates selection
actual behavior: selection / selectorxyz_store and chart seems unresponsive
The text was updated successfully, but these errors were encountered: