View Source VegaLite.Viewer (VegaLite v0.1.9)

Graphics rendering using Erlang's :wx bindings.

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

Summary

Functions

Renders a VegaLite specification in GUI window widget.

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

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.