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 NameTypeDetails
backgroundColorStringBackground color of the widget. The default is #FFFFFF. Included in the Dashboard Designer’s user interface.
borderColorStringColor of the widget’s border. The default is #FFFFFF. Included in the Dashboard Designer’s user interface.
borderEdgesListA 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.
borderRadiusIntegerThe 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.
borderWidthIntegerWidth of the widget’s border. Valid values are 1, 2 (default), 4, and 8. Included in the Dashboard Designer’s user interface.