View Source VegaLite.Viewer (VegaLite v0.1.7)

Graphics rendering using Erlang's :wx bindings.

This method if useful for viewing graphics in scripts and IEx sessions. Note it requires Erlang/OTP 24+ with a recent WxWidgets installation with webview support.

Link to this section Summary

Functions

Renders a VegaLite specification in GUI window widget.

Same as show/1, but blocks until the window widget is closed.

Link to this section Functions

@spec show(VegaLite.t()) :: :ok | :error

Renders a VegaLite specification in GUI window widget.

Requires Erlang compilation to include the :wx module.

@spec show_and_wait(VegaLite.t()) :: :ok | :error

Same as show/1, but blocks until the window widget is closed.