Dual axis charts are good choices for presenting two measures in a common context so they can be compared.
The dual axis charts immediately below are duplicates of Tableau dual axis chart. The one on the left is as-is, the one on the right identifies the left and right axes.
Note: everything in this post is applicable to
dual axis charts with the dual axes on top and bottom,
with left mapping to top and right to bottom.
This chart has both the left and right axes visible. This is normally the desired presentation, but there are circumstances wherein it's desirable to have one one or both of the axes hidden.
This post lays out the different presentations Tableau makes possible, and how to achieve them. Unfortunately, there are two big problems one runs into:
- Tableau treats the left and right axes differently, which prohibits a perfectly legitimate presentation from being possible; and
- the mechanisms for hiding and showing the axes are worse than unintuitive: they're actively perplexing, causing confusion instead of clarity in the mind of he user trying to configure their chart's axes.
The different possibilties for showing and not showing (hiding) axes.
Interestingly, Tableau does not use "hide" or "hiding" for the condition where an axis is not being shown, reducing it to a negative state which relies upon a double interpretation, which is a significant cognitive barrier that imposes a real and unnecessary burden upon the Tableau user. I will use "hide" and "hiding" for the not-shown state; even though doing so adds an additional interpretive layer to this discussion if Tableau corrects the situation it will cease to be a problem.
There are four different possible states for showing or not showing the left and right axes:
There are alternate ways to describe these states, e.g.
"Left showing, Right not showing".
I prefer the language as presented because it's clear, concise, and specific.
Here are Tableau's implementations of the four states:
What? No right axis only showing? Sad but true.
Why? No Design? Bad design?
I have no earthly idea why Tableau doesn't allow the right axis to be visible when the left one isn't. It feels like it's one of those situations where functionality was implemented ad-hoc to support a new feature, in this case the second—right—axis. In this sort of situation the impulse and/or time (or other) pressure to put in a new feature occurs without a systemic contemplation of higher-level consideration along with a coherent design in place and used to guide the product evolution.
Of course, I could be wrong and whomever was responsible for this part of Tableau made a conscious decision to do things this way. In which case they made the wrong decision, if for no other reason than it makes little to no human sense for the left axis' visibility to be dependent upon the right axis' visible state, added to which the mechanisms for showing and hiding the axes are needlessly complicated and confusing, which I assume is a consequence of the cross-linked super/subordinate relationship between the right and left axes.
Show and Hide Axes in Tableau (only they're called "Header" not "Axis")
In another case of confusing nomenclature, when presenting the opportunity to show or hide an axis Tableau uses "Show Header" instead of "Show Axis". This is particularly confusing since there's also an "Edit Axis" mechanism shown in the axis' right-click menu that allows you to, well, edit the axis. Why Tableau thinks that when showing and hiding an axis it should be called a Header is a mystery.
To be fair, I think I see a reason why it –might– make sense to call an axis a header. It's related to the distinction Tableau makes between Axes and Headers, which are the representations of the organizing elements for the worksheet's Cartesian space. Tableau makes a real distinction between continuous and discrete elements in this context, using them differently to organize the space. There's a lot of merit in this scheme but taken too far it bleeds over into other areas with ill effect – but that's whole topic unto itself and will have to wait its turn.
Tableau's "Show Header" mechanism is a toggle that alternately shows and hides the axis it's attached to. (except when an axis' "Show Header" option operates on both axes, which is a weird and confusing affair, more on which later)
"Show Header" shows up in two places: on the axis' measure's pill on the Rows shelf; and on the axis' right-click menu, which is only available when the axis is visible.
Showing and Hiding axes has two steps.
- Find the "Show Header" option
for the axis you want to show or hide
(there are wrinkles to this that I'll point out in a bit)
- Toggle the "Show Header" option
The "Show Header" option has two states: checked and unchecked. When checked, the axis is visible, when unchecked, the axis is not visible.
As the diagrams below show, sometimes toggling "Show Header" switches only that axis visible state and sometimes it switches both of them.
Seems simple enough.
Not so fast. Here's where things get complicated. What happens when you toggle "Show Header" depends upon whether it's the left or right axis, and which axes are visible.
Keeping track of which does what when is difficult. It's so difficult, in fact, that it's simpler and easier to just try something and see what happens. If it's what you want then all's fine and good; if not then try something else.
This is very poor design, and is an active impediment to usability. Instead of having a rational and reasonable human-oriented model of independent axes with similarly independent visibility states Tableau links them together so that achieving simple straightforward tasks is more difficult than it should be, makes showing only the right axis impossible.
Must it be this bad? Is there hope for improvement?
I hope that things will get better. It's hard to believe that there's an insurmountable fundamental technical reason why the current axis model can't be replaced with one that works the way real human people need and expect. Whether Tableau fixes it or not is another question, one that goes into the big bucket of questions about whether the product will improve as it evolves. Time will tell.