How can I get an entire dashboard to scroll horizontally instead of vertically?

Knowledge Drop

Last tested: Jun 1, 2020
 

Because user-defined dashboard are always created using the newspaper layout, there is a limit to how many elements you can fit horizontally. Therefore, the trick is to use layout: static for the LookML dashboard so that you can define the dashboard width and element width yourself: https://docs.looker.com/reference/dashboard-reference#layout

Example:

- dashboard: test_wide_2

title: Test Wide 2

layout: static

width: 5000

tile_size: 100

elements:

- name: hello_world

type: text

height: 2

width: 10

top: 0

left: 0

title_text: "very wide"

- name: hello_world2

type: text

height: 2

width: 10

top: 0

left: 10

title_text: "very wide2"

- name: hello_world3

type: text

height: 2

width: 10

top: 0

left: 20

title_text: "very wide3"

This content is subject to limited support.                

Version history
Last update:
‎04-05-2021 03:14 PM
Updated by: