widgetStyle Properties
The widgetStyle key contains properties that set the border type, border color, and background color of the widget. You can specify these attributes at two levels. To set the default for all dashboard widgets, use the widgetStyle field under gridLayouts. To set a specific widget, use the widgetStyle field under widgets. This setting overrides the default settings for all widgets.
| Property Name | Type | Details |
|---|---|---|
backgroundColor | String | Background color of the widget. The default is #FFFFFF. Included in the Dashboard Designer’s user interface. |
borderColor | String | Color of the widget’s border. The default is #FFFFFF. Included in the Dashboard Designer’s user interface. |
borderEdges | List | A list of values that specify which edges of the widget have a border. Valid values are left, right, top, bottom, and all. Default is no border. Included in the Dashboard Designer’s user interface. |
borderRadius | Integer | The roundness of the border corners.Valid values are: 0 (not rounded, default), 4, 8, and 16. The higher the value, the more rounded the corner.Included in the Dashboard Designer’s user interface. |
borderWidth | Integer | Width of the widget’s border. Valid values are 1, 2 (default), 4, and 8. Included in the Dashboard Designer’s user interface. |