--- title: "Easy Chart - Subplots" --- # Easy Chart - Subplots > :::note This section assumes that Tags and Tag History have been configured > To learn more, go to the [Tag](platform/tags/tags.md) and [Configuring Tag History](../../../../tag-historian/configuring-tag-history/configuring-tag-history.md) pages. > The examples below use OPC PC Tags from the [Programmable Device Simulator](../../../../opc-ua/opc-ua-drivers/programmable-device-simulator/programmable-device-simulator.md) driver, but Memory Tags can be used instead. > ::: ## Subplot Overview The subplot feature of the Easy Chart component allows you to break up the chart plot area into multiple distinct subplots sharing the 'X' axis, but they each have their own 'Y' axis. It is a good way to display lots of data from different Tags in one Easy Chart. By default, the Easy Chart has one subplot which is the main white area. In this example, there are three Tags inside the chart, yet it's difficult to see the details of the data. It’s possible to break up your Tags into multiple subplots which is often useful for discrete data. ![](subplot1.png) ### 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. 1. Drag an Easy Chart component onto your window. 1. Drag three Tags onto the chart. We used Ramp0, Ramp2, and Sine1 from [Programmable Device Simulator](../../../../opc-ua/opc-ua-drivers/programmable-device-simulator/programmable-device-simulator.md). 1. Right click on the Easy Chart component and choose **Customizers** > **[Easy Chart Customizer](appendix/components/vision-components/charts/easy-chart/easy-chart-customizer.md)**. The Easy Chart Customizer window opens displaying four tabs. 1. Click on the **Subplots** tab. 1. The Subplots tab lets you add one or more subplots to the Easy Chart. Create two more subplots by clicking the **Add** ![](green-plus.png) icon two more times. 1. 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. ![](Subplot-Weight-2.png) 1. 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 Edit icon. For this example, we chose the following settings: 1. Set the **Subplot** to 1. 1. Set the **Color** to pink. 1. Set the **Style** to Area. 1. Click **OK**. ![](WriteableInteger3-Subplot.png) 1. For the Ramp2 pen, we selected the following: * **Subplot**: 2 * **Color**: Blue * **Style**: Line w/Gaps 1. For the Sine1 pen, we selected the following: * **Subplot**: 3 * **Color**: Red * **Style**: Digital ![](Configured-Subplots.png) 5. 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. ![](all-pens-selected.png) 1. 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**. 1. Notice how the Ramp2 pen is unchecked and is no longer displayed on the Easy Chart. To add the Ramp2 pen back to the Easy Chart, check the Ramp2 pen, and click **Apply**. The Easy Chart only displays subplots that have active Tags. ![](selected-pens.png)