style Properties
The style key contains the dashboard properties, like cell spacing in the grid, as well as the dashboard’s background color or image.
| Property Name | Type | Details |
|---|---|---|
alignmentX | String | The horizontal alignment of the background image applied to the dashboard. Valid values are: Included in the Dashboard Designer’s user interface. |
alignmentY | String | The vertical alignment of the background image applied to the dashboard. Valid values are: Included in the Dashboard Designer’s user interface. |
backgroundColor | String | Background color of the dashboard, specified in hex color code. The default is |
cellSpacingX | Integer | Horizontal spacing (in pixels) between cells in the dashboard grid. Valid values are Included in the Dashboard Designer’s user interface. |
cellSpacingY | Integer | Vertical spacing (in pixels) between cells in the dashboard grid. Valid values are Included in the Dashboard Designer’s user interface. |
documentId | String | The 15-character document ID of the image to apply as the dashboard’s background. To ensure security, upload the image file to Salesforce as a document, and select the Externally Available Image option. If this option is not selected or the referenced document is not an image, the image doesn’t show up. Included in the Dashboard Designer’s user interface. |
fit | String | Indicates how to scale the image. Valid values are: Included in the Dashboard Designer’s user interface. |
image | Array | Identifies the image using the following properties.
Included in the Dashboard Designer’s user interface. |