About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Last updated: Apr 05, 2024
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. |