The following figure is a stacked diagram. The y-axes are distributed on the left and right side of the diagram. All y-axes share one x-axis at the bottom.
A stacked diagram is created of multiple single diagrams which we will call layers. Each layer displays a y-axis on the left or right diagram side. The axis scaling can only be set so that the major tick marks meet the diagram grid. The axes can only scaled linear.
To display the diagram grid a separate layer is used which in the z-order is behind all other layers of the stacked diagram. This layer is also used to display the x-axis.
First create a diagram and set the diagram name to Grid. Double-click the diagram and click the Name button to set the name.
If the page contains multiple stacked diagrams, set the name to Grid2, Grid3, etc. The name must start with the prefix Grid.
Add one layer for each y-axis to the diagram. For now it is only important that the new layer overlaps a bit with the Grid layer.
Now select one of the layers and choose diagramcreate-stacked-diagram.
![]()
The function searches for a layer name starting with Grid. In the second step the function finds all layers which overlap with the Grid-layer.
A layer of a stacked diagram displays only two handles instead of eight to change the layer size. These handles are displayed in the middle of the top and bottom edge. They can be used to change the length of the y-axis.
Select the grid layer by clicking on the x-axis. Click on the
button to edit the y-axis scaling. The
parameters Minimum, Maximum and Delta set the number of grid
lines. The number of grid lines along the x-axis are set accordingly.
To add a new y-axis, draw a new diagram (Button
or
choose Diagram=>Add new Diagram). The new diagram must overlap the stacked
diagram. To add the diagram to the stacked diagram right click on the new diagram
and choose diagramcreate-stacked-diagram.
To set the font: Choose diagramselect-all-diagrams and choose the font, font size or color from the Text Format Toolbar.
Select a diagram and right click in the diagram. Choose the command Remove Link to Stacked Diagram.
When the stacked diagram is created clipping is enabled for the grid layer and disabled for the all y-axes. To enable clipping for one y-axis: Double-click the diagram and enable clipping in the Diagram=>Diagram Settings dialog box.
id-1330579