-
-
Notifications
You must be signed in to change notification settings - Fork 75
Usage Examples
Christopher Small edited this page Oct 15, 2021
·
2 revisions
(oz/export! plot "outfile.png")
The cljs oz/vega
and oz/vega-lite
components accept a 2-arg form (like [oz/vega view-spec opts]
), where opts
may contain a :view-callback
entry specifying a function that should be called on the Vega View object corresponding to the visualization once instantiated.
This let's you take advantage the entire View API, including the view.addSignalListener
method, which lets you attach a listener function for changes to a specific Vega signal.