How to access `vega` object?
See original GitHub issueI’m hoping to add a custom transform but can’t seem to see how I can access vega.transforms
.
I’m currently importing from the npm package with: import embed, { Result } from 'vega-embed';
Issue Analytics
- State:
- Created 3 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
Usage - Vega & Vega-Lite
To deploy Vega on the web, first import the requisite JavaScript libraries. Then, use the Vega View API or the convenient Vega-Embed helper...
Read more >vega lite - How to access data object from a nested array
Then use Vega-Lite's “faceting” (documentation, Observable tutorial and examples) to make split the chart into sections, one for each value ...
Read more >Vega | Kibana Guide [master]
Use Vega or Vega-Lite when you want to create visualizations with: ... To define an Elasticsearch query in Vega, set the url to...
Read more >Working with data using Vega and D3 / xiaowangtongzhi
The dataset we use here contains a single FeatureCollection object. The individual data objects are in the features array and the features.geometry property ......
Read more >VegaChart | Charts
When drawing a VegaChart, you must include within the options a specification for how to build the chart in the Vega visualization grammar....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the help on Slack. In case anyone else runs into the same question here’s the solution:
Whatever the problem was it was something else in my Angular application. I created a simple demo and am able to add vega-label transform at runtime. If anyone else needs it:
https://github.com/NoahMarconi/Vega-Embed-with-Custom-Transform
Please ask your questions on stack overflow or Slack. We reserve the issue tracker for bugs and feature requests.