Open kskoeld opened 6 years ago
Hi @kskoeld , is that vega signals JSON from v2 or v3 of Vega?
Actually I was thinking of v3, since it's been out for a while and I can't even find the documentation for v2 anymore. But then I just saw that vega.jl is not working with v3 yet. Suggestions on what the quickest route to get signals working would be?
To be honest, I don't know. This package is somewhat dormant, as I haven't had a lot of time to convert this over to v3 of Vega. I never did anything with Signals in v2, so I never really validated that it worked within Vega.jl.
Does this have to be in Vega, or are you just looking for interactivity?
Would love to understand your library a bit better and to tweak the outcome a bit - maybe contribute to the project as well. But I'm already struggling trying to understand how I could add signals to the barplot. As this Vega example shows the properties are straight forward:
"signals": [ { "name": "tooltip", "value": {}, "on": [ {"events": "rect:mouseover", "update": "datum"}, {"events": "rect:mouseout", "update": "{}"} ] } ],
But I can't figure out how to use the VegaSignal primitive and add a simple toogle to he barplot function.