Onvo DocumentationWidgets

Widgets

A widget is a single element in a dashboard. To see the full list of widgets, check out the this list.

Widget fields

cache
object
required

The cache identifier associated with the widget as a json object. This object is a config object for the chart.js library.

code
string
required

The code or script related to the widget.

dashboard
string

The identifier or name of the dashboard associated with the widget.

id
string

The unique identifier for the widget.

query
string
required

The query or question posed by the widget.

team
string

The identifier or name of the team to which the widget belongs.

messages
array
required

The output or result of the question.

settings
object

All the settings for the current widget

title
string
required

The title or name of the widget.

h
number
required

The height of the widget.

w
number
required

The width of the widget.

x
number
required

The x-coordinate position of the widget on the dashboard.

y
number
required

The y-coordinate position of the widget on the dashboard.