Charting widget based on Vega declarative visualization language.
JSON - The chart configuration as Vega JSON.
JSON - Dynamic variables that drive interactive updates.
Array - The data for chart.
Object - The output dynamic variables and selections.
Vega Chart widget can render a wide variety of data visualizations. The visualizations are configurable using Vega JSON specification. To create a visualization, pass Vega specification to
spec input and then connect your data source to the
Vega specification supports data embedded into the specification itself. If you pass the configuration that includes the data in the spec, then leave the
data input free. Otherwise the data in the spec will be overwritten.
Vega Chart also supports Vega signals - the dynamic variables that drive interactive updates. You need to explicitly specify which signals Vega Chart will be listening to in widget Settings dialog. You can set/update signal value by sending signal value event to
Any change of the value for configured signals will trigger an event on
Vega signals are different from Kelp signals. For clarity, consider Vega signals as dynamic variables inside Vega Chart.
The following is an example of a simple bar chart Vega spec.
Vega bar chart spec
The title of the widget.
Declare signals that Vega Chart widget will be listening too. It includes both input and output signals. Click on "+" to add one or more signals.
Hide progress bar
Controls the visibility of widget progress bar. By default, widget progress bar is visible.
Hide help icon
Controls the visibility of help icon. By default, help icon is visible.