8 of 8 people found this helpful
Hi Mathew, there are probably many ways to do this. Here are two that come to mind:
- Create the line as an image (outside Tableau, e.g., in your favorite Paint program) then insert it as an Image on the dashboard.
- Create a new empty sheet and add it to the dashboard. Right click on the title and hide it. Go to the Worksheet menu and choose Show Caption. Now go to the Format menu and select Title & Caption. For the caption, set a border line width and color. (In other words, you're create an empty sheet with an empty caption that has a border.)
In both cases, you can reduce the height of the pane (the image or the sheet) by dragging the top or bottom edge.
Thanks for this Jeff! Very creative solution.
It's difficult to really scrunch the container down, though, right? For example, for method #2 above, the minimum container height is much greater than the line width. That leaves a lot of whitespace below the line.
Can you override the minimum container height that Tableau allows you to drag to?
Or can you at least align this border in the middle of the container somehow? (It's at the very top of the container.)
If you change the sheet to Floating, then you can shrink and position it,
That'll work! Thanks again.
1 of 1 people found this helpful
One other way I found to do this is create a floating text pane on the dashboard that contains no text but has a border that is configured to the desired color and thickness for the horizontal line. If you resize the pane to be thin enough vertically, it looks like a horizontal line rather than a border/box
6 of 6 people found this helpful
There is a much simpler approach within current Tableau versions. I am not sure if this has existed for a while or not.
Here's the simple steps...
1. Select the "Floating" button under Object.
2. Drag the "Blank" object out into the middle of your dashboard.
3. Click on the "Layout" tab and choose a Border color.
4. Drag it out to the desired width (for horizontal divider) or designed height (for vertical divider).
5. Shrink it down as thin as you want, or type the number in (2px height for a horizontal divider and 2px width for a vertical divider).
EDIT: I have managed to solve the Problem, by not adding an empty object, but rather by adding a "text Object" and simply not inputing any text. The text object has the option to be formated, as opposed to an empty object.
old> Im currently using 10.0.2
old> somehow I cant seem to find the border line formating option. could you take a look at the "leer" Object.
This is a good fix
In more recent versions, the easiest way is:
1) add a blank object
2) with that object selected, go to Layout on the Dashboard (not formatting!)
3) set the background color and padding
4) click on the drop down on the object and set height (or width for a vertical line) to 1. If you don't see this option, add the line within a vertical/horizontal object as appropriate
And you get a lovely line
Nice decision, works for me!