# EasyChart Subplot Legends

**URL:** <https://forum.inductiveautomation.com/t/easychart-subplot-legends/27423>\
**Category:** Ignition\
**Created:** [August 14, 2019, 12:31pm UTC](https://forum.inductiveautomation.com/t/easychart-subplot-legends/27423 "2019-08-14T12:31:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlyu](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jlyu](https://forum.inductiveautomation.com/u/jlyu)\
**Post date:** [August 14, 2019, 12:31pm UTC](https://forum.inductiveautomation.com/t/easychart-subplot-legends/27423/1 "2019-08-14T12:31:31Z")

</div>

I’m trying to add separate legends on top of each subplot instead of stacking them all together at the bottom or top. So far been out of luck, any help will be appreciated!

---

<div class="post-metadata">

**Author:** ![JordanCClark](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jordancclark/32/83362_2.png) [@JordanCClark](https://forum.inductiveautomation.com/u/JordanCClark)\
**Post date:** [August 14, 2019, 2:32pm UTC](https://forum.inductiveautomation.com/t/easychart-subplot-legends/27423/2 "2019-08-14T14:32:00Z")

</div>

It won’t put each one by a subplot, but you can group pens together.

- Each pen name needs to have a group name in front of it

```auto
Group1/Pen1
Group1/Pen2
Group2/Pen3
Group2/Pen4

```

- Turn on the _ **Group Pens** _ property of the easy Chart

---

<div class="post-metadata">

**Author:** ![jlyu](https://avatars.discourse-cdn.com/v4/letter/j/3ec8ea/32.png) [@jlyu](https://forum.inductiveautomation.com/u/jlyu)\
**Post date:** [August 14, 2019, 4:29pm UTC](https://forum.inductiveautomation.com/t/easychart-subplot-legends/27423/3 "2019-08-14T16:29:39Z")

</div>

Thanks for the info Jordan.

I have them all grouped already before, but it just looks not as clear when you have multiple subplots. Especially when you need to scroll down to look at a subplot and then need to go back to look at the legend…

---

<div class="post-metadata">

**Author:** ![ryoungk](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ryoungk/32/24205_2.png) [@ryoungk](https://forum.inductiveautomation.com/u/ryoungk)\
**Post date:** [November 16, 2021, 10:50pm UTC](https://forum.inductiveautomation.com/t/easychart-subplot-legends/27423/4 "2021-11-16T22:50:59Z")

</div>

Was anything ever identified for this? I’d like to do the same thing.

---

<div class="post-metadata">

**Author:** ![jespinmartin1](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jespinmartin1/32/57175_2.png) [@jespinmartin1](https://forum.inductiveautomation.com/u/jespinmartin1)\
**Post date:** [November 17, 2021, 1:07am UTC](https://forum.inductiveautomation.com/t/easychart-subplot-legends/27423/5 "2021-11-17T01:07:07Z")

</div>

To do this, you have to create a template with a easy chart.  
Then use a template repeater that uses that template

It is a hard work because you should create parameters in the template to decode datasets for tag or db pens and strings and bunch more properties to achieve full functionality.
