David Bacci
David Bacci
You can also pass in objects to better control things: ``` "tooltip": { "expr": "datum.__selected__=='off'? {'a':datum.a,'b':datum.b}:{'a':datum.a,'b':datum.b,'Highlighted':datum.b__highlight}" } ```
The code I wrote is Vega Lite so at least no need for Vega changes.
What is your expected result? BTW, questions like this should go on Stack Overflow. Also, your spec isn't valid at the moment.
That is a strange spec to me. I don't think the code I posted will help you. If this were me, I would render another set of marks where the...
I think VL is missing the Collect transform for sorting: https://vega.github.io/vega/docs/transforms/collect/ For filtering inline data, just use "transform": [{"filter": "datum.Value != 0"}], or a variation of it.
Additional point of interest: on FF, they show up on the canvas renderer but not on the SVG one.
This might be a Vega issue. Here is a corrected Vega spec changing the type to scale type to linear and the legend formatType to time.  ``` { "$schema":...
Yes, here is the VL. The reason I said I thought it was a Vega issue is the range is being computed incorrectly by Vega when the type is time....
I would do as they might know why the range is being calculated incorrectly.
Try this as a temp workaround: ``` { "config": {"autosize": {"resize": true}}, "data": {"name": "data-c69e60c4b3c263e62f2cf0b96b6c89a7"}, "mark": {"type": "bar"}, "encoding": { "color": {"field": "c", "type": "nominal"}, "column": {"field": "b", "type": "nominal"},...