The widget syntax can be useful for customizing widgets beyond the functionality that is provided by the Widget Editor in the Visualization view.
The basic widget syntax is as follows:
{ "name": "Widget Title", "type": "WidgetType", "props": {} }
Description | |
---|---|
|
Defines the widget title, which is displayed in the widget header. |
|
Defines the widget type. |
|
Defines the properties of the widget. The properties vary depending on the |
The basic widget syntax for widgets that are connected to data, such as tables and charts, is as follows:
{ "name": "Table Cars", "type": "Table", "props": { "container": "", "data": "cars", "spec": {}, "search": "" } }
Description | |
---|---|
|
You usually specify |
|
You usually leave |
|
Optionally specify
To aggregate all the scenarios contained in a Decision Optimization experiment, use The rows of the listed scenarios are concatenated in a single table, with an extra column
|
|
Saves the content of the search-text field. |