0
votes

I'm trying to use vega lite to create an in-page graph renderer.

Oddly, I can't find any documentation on how to re-render a graph after updating the spec.

Am I missing a reference somewhere?

1

1 Answers

0
votes

When you change the spec, you need to compile again. You can just pass the new spec to Vega-Embed's embed method.