Print this page

Controlling Width and Height for Dashboard Widgets in Wave Analytics

Knowledge Article Number 000240505
Description Note: This applies to the standard Dashboard Designer, not the Flex Designer.

Controlling Width via JSON

Width is specified by the "w" property of the "position" parameter.
Height is specified by the "h" property of the "position" parameter.
The values of "w" and "h" are treated as strings. Numeric values must be enclosed in quotes. You can enter "auto", integers ("200"), and percentages ("30%").
 
Example:
 
"position": {
  "x": 40,
  "y": 40,
  "w": "300",
  "h": "auto"}
 
More details on this syntax can be found here.
Resolution

Exceptions

The following widget types will not respect width or height specifications:
  • Link
  • Text
  • Youtube
These automatically resize based on their contents.




promote demote