Closed leibatt closed 1 year ago
Looks like we added offset in Vega-Lite 5.2 but Vega-Lite API is at 5.1 right now (see yarn.lock).
Duplicate of https://github.com/vega/vega-lite-api/issues/377
I just released a new version, based on the VL 5.6 schema. The xOffset and yOffset encodings are included.
I'm trying to recreate an existing Vega-Lite example using the Vega-Lite API in Observable, but I can't seem to find the yOffset encoding in the VL API. Here's the spec for the original example:
The following code using the VL API works without yOffset specified:
When I try to add a yOffset encoding, I run into an error:
I see this error in Observable:
TypeError: vl.yOffset is not a function