The widgetStyle key contains the default widget properties that can be applied to each widget.
note: 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. Settings at the widget level override the default settings for all widgets.
| Property Name | Type | Details |
|---|---|---|
backgroundColor |
String | Color of the widget's background, specified in hex color code. The default is #FFFFFF. Included in the Dashboard Designer's user interface. |
borderColor |
String | Color of the widget's border, specified in hex color code. The default is #FFFFFF. If no border is specified, the widget has no border. 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 | 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 | Thickness of the border.Valid values are: 1, 2 (default), 4, and 8. The higher the value, the thicker the border.Included in the Dashboard Designer's user interface. |