Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to layer vega / vega-lite on top of eachother #2

Open
metasoarous opened this issue Feb 14, 2018 · 2 comments
Open

Add ability to layer vega / vega-lite on top of eachother #2

metasoarous opened this issue Feb 14, 2018 · 2 comments

Comments

@metasoarous
Copy link
Owner

It seems like it should be possible to pass vega and vega lite descriptions to the client, use the js lib to parse the vega-lite into vega, and then merge everything together, so that you could do nitty gritty tuning with vega, but take care of the trivial bits using vega-lite.

Ideally, we'd just find a way of translating vega-lite to vega on the server, but I'm not sure how best to do that short of using the socket to request translations from the js/browser, or call out to a js/node process. Perhaps we can load vega in nashorn?

Short of that, perhaps we just pass along both descriptions to the browser and have it merge them together. But this would provide much less flexibility that being able to just translate vega-lite to vega and build upon that description.

@zane
Copy link

zane commented May 31, 2019

Perhaps we can load vega in nashorn?

This appears to be an example of someone doing just that.

@metasoarous
Copy link
Owner Author

metasoarous commented May 31, 2019

Very cool. Thanks @zane! This may be helpful for #36 as well.

metasoarous pushed a commit that referenced this issue Nov 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Development

No branches or pull requests

2 participants