Dashboard Layouts and Formatting

本笔记只做复习以及巩固知识点使用,初次学习请下载练习工作簿,跟随网络课程的讲解同步操作,结果参考解法工作簿

Tiled and Floating Layouts

By default, views and legends pull out as tiled dashboard objects. Let’s make this fit nicely.

If we click here on the left where it says Floating, we can change that behavior. Note how the grey drop area indicator looks different, and if we let go, this view and all its legends and filters will come out on top of the view underneath it.

Tiled layouts automatically fill the entire space, Floating objects can have a fixed size and position. Let’s undo that.

Floating Objects

Floating objects allow for very precise control of where objects go. Let’s bring out the color legend for the map and float it.

  • Click on the map
  • Open the menu
  • Go to Legend -> Color Legend

This Average Shipping Cost legend only applies to the top view. If we hold down the shift key and click and drag, this object will float. Now we can overlay it on top of the map. Let’s verify that we’re clicked on Ave. Shipping Cost in the layout area. This is our floating legend. Now, the very bottom of the dashboard pane shows us controls for position and size. We can make very controlled adjustments for floating objects such as moving it over by decreasing the x position.

Titles and Dynamic Values

Good titles are important for effective communication.

  • If we double click on a title, we can edit it.
  • The default is the sheet name, but we can replace that with whatever we want

A good trick is to insert a dynamic value into the view’s title.

  • If we click on Insert, we’ll get a list of things that can be put in the title. This depends on what fields are in use in the view
  • Here, we see that Ship Mode is an option.
  • Let’s rename this “Average Cost for” then insert Ship mode and follow up with “Shipping”.
  • Now as we play with that Ship mode flter, we’ll see this title dynamically change.

Format Menu

Just as we can modify the title for each view, we can format the titles and the dashboard as a whole by going to the Format menu and selecting Dashboard. The format pane opens over the dashboard pane, and we see options for shading, alignment, font…

  • One thing to note is that if we change the shading, say to yellow, only dashboard items are shaded.
  • Views have their own formatting.
  • To make the entire display yellow, we’d need to go to each view on the dashboard and format their shading.
  • Right click in a view then click format. If we go to Shading, and select that same yellow, see that the view we had selected turns yellow.

Images & Web Pages

Images can be added to dashboards simply by dragging out the Image object and navigating to the location of the image.

  • Here, I want to add the Tableau logo
  • I’ll bring out Image, navigate to the logo and open it
  • By going to the menu,
  • We see the option to add the image as a hyperlink to a URL
  • Or we could center the image
  • If we want to add a web page, we simply bring out the web page part, we can drop it here at the bottom
  • For the URL, I’ll put tableau.com
  • Simply dragging on the top lets us resize this
  • And it’s still a fully interactive webpage, just like in a browser
  • But now the logo doesn’t ft very well
  • If we go to the menu, we see the option to fit image.
  • This keeps the image resized to fit the dashboard.
  • If we wanted to move the logo over to the left, there’s no left align option, just centering.

  • So instead, we can bring out a blank object to the right, and adjust it until the logo is where we want it to be.

Layout Containers

Layout containers are a great way to control placement on a dashboard. Here, when we have a tiled layout, note that if we click a specific ship mode, the bar chart is a static size but more or less bars are squeezed into that area.

  • Let’s go to a blank dashboard and bring out a horizontal layout container
  • We’ll bring out Running Total
  • And below it, Shipping Cost
  • Click on the header to get the menu drop down
  • Go the menu, and we’ll select fit -> entire view
  • Just to make this more visually obvious, we’ll click on the header for Running Total
  • Bring up the menu, select quick filter, and bring out the filter for Ship Mode,

The layout area of the Dashboard Pane can help visualize what views are in what containers, or allow us to add borders and shading around a collection of objects

Now let’s see how layout containers handle the resizing of those bars

  • If we flter to All modes, the Running Total is pretty small up at the top.
  • But if deselect ship modes, the bar chart collapses and the Running Total chart automatically flls that space
  • As we select fewer or more modes, the sizes automatically adjust Layout containers can be a powerful way to control how a dashboard is laid out. For more information on working with Layout containers, check out the Online Help.
©著作权归作者所有,转载或内容合作请联系作者
  • 序言:七十年代末,一起剥皮案震惊了整个滨河市,随后出现的几起案子,更是在滨河造成了极大的恐慌,老刑警刘岩,带你破解...
    沈念sama阅读 216,287评论 6 498
  • 序言:滨河连续发生了三起死亡事件,死亡现场离奇诡异,居然都是意外死亡,警方通过查阅死者的电脑和手机,发现死者居然都...
    沈念sama阅读 92,346评论 3 392
  • 文/潘晓璐 我一进店门,熙熙楼的掌柜王于贵愁眉苦脸地迎上来,“玉大人,你说我怎么就摊上这事。” “怎么了?”我有些...
    开封第一讲书人阅读 162,277评论 0 353
  • 文/不坏的土叔 我叫张陵,是天一观的道长。 经常有香客问我,道长,这世上最难降的妖魔是什么? 我笑而不...
    开封第一讲书人阅读 58,132评论 1 292
  • 正文 为了忘掉前任,我火速办了婚礼,结果婚礼上,老公的妹妹穿的比我还像新娘。我一直安慰自己,他们只是感情好,可当我...
    茶点故事阅读 67,147评论 6 388
  • 文/花漫 我一把揭开白布。 她就那样静静地躺着,像睡着了一般。 火红的嫁衣衬着肌肤如雪。 梳的纹丝不乱的头发上,一...
    开封第一讲书人阅读 51,106评论 1 295
  • 那天,我揣着相机与录音,去河边找鬼。 笑死,一个胖子当着我的面吹牛,可吹牛的内容都是我干的。 我是一名探鬼主播,决...
    沈念sama阅读 40,019评论 3 417
  • 文/苍兰香墨 我猛地睁开眼,长吁一口气:“原来是场噩梦啊……” “哼!你这毒妇竟也来了?” 一声冷哼从身侧响起,我...
    开封第一讲书人阅读 38,862评论 0 274
  • 序言:老挝万荣一对情侣失踪,失踪者是张志新(化名)和其女友刘颖,没想到半个月后,有当地人在树林里发现了一具尸体,经...
    沈念sama阅读 45,301评论 1 310
  • 正文 独居荒郊野岭守林人离奇死亡,尸身上长有42处带血的脓包…… 初始之章·张勋 以下内容为张勋视角 年9月15日...
    茶点故事阅读 37,521评论 2 332
  • 正文 我和宋清朗相恋三年,在试婚纱的时候发现自己被绿了。 大学时的朋友给我发了我未婚夫和他白月光在一起吃饭的照片。...
    茶点故事阅读 39,682评论 1 348
  • 序言:一个原本活蹦乱跳的男人离奇死亡,死状恐怖,灵堂内的尸体忽然破棺而出,到底是诈尸还是另有隐情,我是刑警宁泽,带...
    沈念sama阅读 35,405评论 5 343
  • 正文 年R本政府宣布,位于F岛的核电站,受9级特大地震影响,放射性物质发生泄漏。R本人自食恶果不足惜,却给世界环境...
    茶点故事阅读 40,996评论 3 325
  • 文/蒙蒙 一、第九天 我趴在偏房一处隐蔽的房顶上张望。 院中可真热闹,春花似锦、人声如沸。这庄子的主人今日做“春日...
    开封第一讲书人阅读 31,651评论 0 22
  • 文/苍兰香墨 我抬头看了看天上的太阳。三九已至,却和暖如春,着一层夹袄步出监牢的瞬间,已是汗流浃背。 一阵脚步声响...
    开封第一讲书人阅读 32,803评论 1 268
  • 我被黑心中介骗来泰国打工, 没想到刚下飞机就差点儿被人妖公主榨干…… 1. 我叫王不留,地道东北人。 一个月前我还...
    沈念sama阅读 47,674评论 2 368
  • 正文 我出身青楼,却偏偏与公主长得像,于是被迫代替她去往敌国和亲。 传闻我的和亲对象是个残疾皇子,可洞房花烛夜当晚...
    茶点故事阅读 44,563评论 2 352

推荐阅读更多精彩内容

  • rljs by sennchi Timeline of History Part One The Cognitiv...
    sennchi阅读 7,322评论 0 10
  • The Inner Game of Tennis W Timothy Gallwey Jonathan Cape ...
    网事_79a3阅读 12,033评论 3 20
  • 1416公里,是我在百度地图上用测距工具测量出来的北京到绵阳的直线距离,请原谅我不自然间给百度打了个广告,这里想要...
    AndroidTech阅读 232评论 0 0
  • 1、侧方停车 车标与黄线对齐行走,距离达到30公分;车窗到铁杆平行;倒档与水泥缝平行向右回一圈;车标与小树苗对齐回...
    安秀周莉莉阅读 160评论 4 3
  • 南方生长的我,没去过北方也没见过雪。 以前从没想过去看看,但自从认识他之后就特别想去看看。 雪慢慢的,像柳絮一样飘...
    猫懒只一阅读 135评论 0 0