In the Grouping canvas components recipe in Chapter 1, Staying in Control, we discussed how grouping multiple components works. This solution is a good option when a limited number of components are involved. But if you are building a dashboard with a lot of overlapping layers, maybe even in combination with the dynamic visibility functionality, it is recommended to use the canvas container component.
Drag a canvas container component into the canvas.
Resize the canvas container component to almost half the same size of the canvas.
Drag a line chart component directly into the canvas container.
Have a look at the Object Browser. You will notice that the Line Chart component is placed one level below the Canvas Container component. This indicates that the Line Chart component is now part of the Canvas Container.
Select the Canvas Container and...