Video | Tableau | Data visualisation

Tracking Reference Lines: Tableau Quick Tip

Here's a neat trick to make a reference line track your cursor across two charts at once.

  • Create a hover-based highlight dashboard action between both sheets, passing date and time fields and ticking both directions so each chart affects the other
  • Add a minimum reference line and leave 'show recalculated line for highlighted or selected data points' enabled so the line follows your cursor
  • Because the action is hover rather than click, you avoid selecting multiple marks, keeping the minimum tied to a single point
  • Hide the resting reference line by fixing the axis start to the earliest date so it tucks behind the axis
  • Use the label option to only label highlighted marks, so point labels appear automatically when the highlight action fires

In this video I show you how to make a reference line track your mouse hover across multiple charts in Tableau. I’m using tableau 10 but this is supported in later versions of version 9.