VegaLite.Viewer (VegaLite v0.1.4) View Source

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

Specs

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

Renders a VegaLite specification in GUI window widget.

Requires Erlang compilation to include the :wx module.

Specs

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

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