# Changing Easy Chart Pen from a template

**URL:** <https://forum.inductiveautomation.com/t/changing-easy-chart-pen-from-a-template/59782>\
**Category:** Ignition\
**Created:** [May 19, 2022, 1:56pm UTC](https://forum.inductiveautomation.com/t/changing-easy-chart-pen-from-a-template/59782 "2022-05-19T13:56:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Benjamin\_Kimes1](https://avatars.discourse-cdn.com/v4/letter/b/5daacb/32.png) [@Benjamin\_Kimes1](https://forum.inductiveautomation.com/u/Benjamin_Kimes1)\
**Post date:** [May 19, 2022, 1:56pm UTC](https://forum.inductiveautomation.com/t/changing-easy-chart-pen-from-a-template/59782/1 "2022-05-19T13:56:12Z")

</div>

I am trying to make an HOA for motors for my company. I have made a template that when it is clicked automatically fills a popup window with all the correct information (Motor Number, Amps, etc). I have been unable to find a way to use the same UDT parameters to dynamically change the Easy Chart pens. Was wondering if I’m missing an easy way to do this. Thanks

Ben

---

<div class="post-metadata">

**Author:** ![zacht](https://avatars.discourse-cdn.com/v4/letter/z/ea5d25/32.png) [@zacht](https://forum.inductiveautomation.com/u/zacht)\
**Post date:** [May 19, 2022, 2:23pm UTC](https://forum.inductiveautomation.com/t/changing-easy-chart-pen-from-a-template/59782/2 "2022-05-19T14:23:05Z")

</div>

The pen configuration is really just a dataset property. You can use Cell Update Bindings to change the configuration.

I think I would start with some custom properties that have indirect tag bindings. The Cell Update Bindings would then reference these custom properties.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [May 19, 2022, 2:29pm UTC](https://forum.inductiveautomation.com/t/changing-easy-chart-pen-from-a-template/59782/3 "2022-05-19T14:29:56Z")

</div>

Or add one or more dataset properties to the popup’s root container, bind the EasyChart’s pens/axes/subplots to them, and include these parameter values (datasets) in the script that opens the popup.
