Configuring Easy Chart Subplots
For each Tag in the Easy Chart example above, let's create its own subplot so the data is easier to view and analyze.
Drag an Easy Chart component onto your window.
Drag three Tags onto the chart. We used Ramp0, Ramp2, and Sine1 from Sim_Generic.
- Right click on the Easy Chart component and choose Customizers > Easy Chart Customizer. The Easy Chart Customizer window opens displaying four tabs.
Click on the Subplots tab.
The Subplots tab lets you add one or more subplots to the Easy Chart. Create two more subplots by clicking the Addicon two more times.
- The size of each subplot corresponds to the ratio between their "Relative Weight" settings. By default, each subplot is assigned a weight of 1, meaning each subplot will share an equal percentage of space on the chart. In this example, we set subplot 1 has a weight of 2, and subplots 2 and 3 have a weight of 1. Subplot 1 is going to be 2 times larger than Subplots 2 and 3.
Now that we have subplots, we'll put each of the different pens into a different subplot. Click on the Pens tab, select the row for the Ramp0 Pen, and click the Editicon. For this example, we chose the following settings:
- Chose Subplot 1.
- Set the color to pink.
- Set the style to Area.
- Click OK.
For the Ramp2 pen, we selected the following:
- Subplot: 2
- Color: Blue
- Style: Line w/Gaps
For the Sine1 pen, we selected the following:
- Subplot: 3
- Color: Red
- Style: Digital
- Click OK.
- Now, you have three distinct subplots on one Easy Chart. You are not limited to the number of subplots on one Easy Chart.
- You can be selective about what subplots you want to view. Go to Preview Mode, uncheck the Pens you don't want to see, and click Apply.
- Notice how the Ramp 2 pen is unchecked and is no longer displayed on the Easy Chart. To add the Ramp 2 pen back to the Easy Chart, check the Ramp 2 pen, and click Apply. The Easy Chart only displays subplots that have active Tags.