-
Notifications
You must be signed in to change notification settings - Fork 17
Layering: Support? #31
Comments
For example, i forked the repo and added this
and this code does indeed replicate the example in the above link
However, this means replicated |
With vegalite 2.0 now in, it's conceptually possible. But we have struggled with what the layer API should look like as you stated. |
See also #16 |
Yes, API design is difficult. As a stop gap, is there a way to return composable JSON that i could combine using list statements and then recombine into vega using from_spec? The above code with sprintf and constructing JSON strings is a bit kludgy. I'm thinking i could play with layers and with the experience imagine an API that might suit my workflow. Maybe there already is an elegant way using the current rvegalite api to do the above. thanks |
The vegalite object passed around in these functions is a list that is designed to tranlaste to the JSON object. Check out |
Hello,
Thanks much for the great package (vegalite is lovely). Do you have plans to support (or have i missed it?) layering (see https://vega.github.io/vega-lite/docs/layer.html )
The text was updated successfully, but these errors were encountered: