question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

How to access `vega` object?

See original GitHub issue

I’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:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
NoahMarconicommented, Sep 4, 2020

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

1reaction
domoritzcommented, Sep 4, 2020

Please ask your questions on stack overflow or Slack. We reserve the issue tracker for bugs and feature requests.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found