Overlapping objects

Most of the time, overlapped objects mean either that the designer is not done yet or that he does not hold functionality, usability, or aesthetics in high regard (and evidently did not read this book). However, there is a rarely seen third option: the charts were meticulously located one on top of the other so that together they display information in a way that cannot be achieved otherwise.

Range charts

Range charts are built with two components—a main trend displayed in the foreground and a colored area in the background that serves as the context. It is commonly used to monitor exchange rates, stock markets, and bond pricing due to the completeness of the vision that it can convey. The main benefit of this visualization is that it can show the minimum, maximum, and average values and, by comparison, the spread between its limits, all at the same time.

Example: Average temperature per hour.

Relevant features: Overlapping charts.

Range charts

To create such a chart, perform the following steps:

  1. Create a new line chart using Hour_Range as the dimension.
  2. Add the following expressions:

    Label

    Definition

    Line Style

    Min

    min(Temperature)

    '<W.1>'

    Avg

    avg(Temperature)

     

    Max

    max(Temperature)

    '<W.1>'

  3. In the Presentation tab, unselect the Show Legend box.
  4. As we are only displaying one type of metric (temperatures), a monochromatic palette will work neatly. You can choose an intense color for the main expression (Avg) and lighten it up for the secondary ones (Min / Max). So, go to the Colors tab and create the chart's palette:
    Range charts
  5. As you can see, by this point the only element missing is the colored area between the thin lines. This effect will be created by overlapping the two charts. However, in order to make it work, both objects must be formatted in the exact same way. Therefore, unlike any of the previous recipes, we need to do the entire tuning of the chart in the middle of the process. Take some time to adjust the titles, axes, and fonts as you prefer.
  6. Copy and paste the object. From now on, we will call them the Foreground and Background charts, respectively.
  7. Open the Foreground chart's properties and set the Background Transparency to 100% in the Colors tab, as in the following image:
    Range charts
  8. We will leave the Foreground chart aside for the moment and focus on its Background twin. Open the Properties window and delete the second expression (Avg).
  9. In the Style tab, select the fourth Look: Area Chart.
    Range charts
  10. As you can see, the area chart stacks all the expressions, so the top value will not represent the highest temperature, but the sum of the highest and the lowest values for that Hour. Therefore, we need to change the definition of the Max expression (which is now the second one) to:
    max(Temperature) - min(Temperature) 
  11. Now, the two areas visually correspond to the Foreground chart. In the Colors tab, set the Transparency value of the first tile to 100% so that the area next to the axis becomes invisible.
    Range charts
  12. The second tile will look great if we use the same color applied in the Foreground chart. However, it should be even lighter so that it would not steal much of the user's attention.

    Tip

    Instead of using a lighter color, you can also apply a certain level of transparency.

  13. When using this kind of trick, it is vital to remember to adjust the layers so that the order of the objects does not change. Go to the Layout tab in the Background chart and set Custom Layer to 10.
  14. In the Foreground chart, set Custom Layer to 15.

    Tip

    You can use any numbers you prefer. Just remember that the higher layers cover all the lower ones. While subsequent figures work in the exact same manner, many developers prefer to use bigger steps in case they need to add an unsuspected intermediate layer later on.

  15. Now, the moment of truth: overlap both objects using the alignment buttons in the design bar.
    Range charts
  16. Now, you are the proud owner of a range chart!

Overlapping charts – other examples

Undeniably, overlapping objects is a dangerous bet. Though it can help you create visually appealing dashboards, it is rarely necessary to overload a dashboard with colors and shapes. However, sometimes the situation calls for extreme measures. These are some examples of visualizations built with overlapping objects.

Crusted line chart

This is a little twist from the last recipe. You can create a crusted line chart by overlapping an area chart and a traditional line chart with a broader width.

Crusted line chart

Pie gauge

Overlapping objects is not restricted to charts. You can also play with the layers of text objects and use them in multiple ways. For instance, this pie gauge is created by stacking multiple text objects, pie charts, and icons:

Pie gauge

Area infographics

Once again, you didn't hear this one from me. If you edit an image so that its content is transparent and its background is white, you can put it on top of a bar or block chart to create an area infographic.

Area infographics
..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset