Open the Chart in the Vega Editor
The Vega Editor produces very strange warnings for my Vega spec (see them with ALT+F8).
"type": "text"
and says 'Value is not accepted. Valid values: "group".'encode
, it highlights "baseline": {"value": "line-bottom"}
and says 'Value is not accepted. Valid values: "top", "middle", "bottom", "alphabetic".'The line-top
and line-bottom
baselines were added in 5.10 according to https://vega.github.io/vega/docs/marks/text/
It seems like a validation bug. line-bottom is causing the other errors. If you change it to bottom they go away. I'll raise a bug on github.