# Reusing Script transfrom for charts

**URL:** <https://forum.inductiveautomation.com/t/reusing-script-transfrom-for-charts/112249>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [November 18, 2025, 11:55am UTC](https://forum.inductiveautomation.com/t/reusing-script-transfrom-for-charts/112249 "2025-11-18T11:55:37Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [November 18, 2025, 11:55am UTC](https://forum.inductiveautomation.com/t/reusing-script-transfrom-for-charts/112249/1 "2025-11-18T11:55:37Z")

</div>

Hello!

It´s possible to reuse a binding or script transfrom for differents charts that only change a variable?

I´ve got multiple charts, all of them have same binding

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/8/5/85980ac88050759c6d233add2665804bde777084.png)

and only change a custom property where I include the variable:

field\_name = self.parent.custom.value

![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/a/3a61d24d9b7078cfa6aa7c5830a5515b4412da3d.png)

can be KWH\_GEN, KWH\_IT, KWH\_RECT ...

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/3/b/3b86303428216c59010be2a9e394371bfba10cf9.png)

If not possible is ok, but would be useful for future changes.

Cheers.

---

<div class="post-metadata">

**Author:** ![tgarrison](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tgarrison/32/80965_2.png) [@tgarrison](https://forum.inductiveautomation.com/u/tgarrison)\
**Post date:** [November 18, 2025, 12:53pm UTC](https://forum.inductiveautomation.com/t/reusing-script-transfrom-for-charts/112249/2 "2025-11-18T12:53:19Z")

</div>

Explain a bit more of what the differences are between the different places you want the binding to apply. There are a number of different ways to accomplish what you're looking for I believe. I'm assuming you're looking to have to only maintain the binding in one place so that you don't have to worry about making sure changes are propagated across multiple charts/etc.

---

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [November 18, 2025, 12:58pm UTC](https://forum.inductiveautomation.com/t/reusing-script-transfrom-for-charts/112249/3 "2025-11-18T12:58:10Z")

</div>

Yes, the binding is the same, but in different tabs i got a different custom property that I use as variable on the script transform-so shows a different chart...would like to know if I can somewow use a unique binding for all the charts and addapt it with the variables.

---

<div class="post-metadata">

**Author:** ![tgarrison](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tgarrison/32/80965_2.png) [@tgarrison](https://forum.inductiveautomation.com/u/tgarrison)\
**Post date:** [November 18, 2025, 1:01pm UTC](https://forum.inductiveautomation.com/t/reusing-script-transfrom-for-charts/112249/4 "2025-11-18T13:01:10Z")

</div>

One option would be to move the transform into a project script. Then have your bindings simply call that script, with the appropriate custom variable.

Or if it's all the same underlying data, handle the transform at say the root container level, and then have your bindings just pull the data they need out of the resultant dataset, based on the custom variable.

---

<div class="post-metadata">

**Author:** ![Alejandro\_Alaco](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/alejandro_alaco/32/59849_2.png) [@Alejandro\_Alaco](https://forum.inductiveautomation.com/u/Alejandro_Alaco)\
**Post date:** [November 18, 2025, 1:03pm UTC](https://forum.inductiveautomation.com/t/reusing-script-transfrom-for-charts/112249/5 "2025-11-18T13:03:47Z")

</div>

Ok, thanks @tgarrison this seem like a good option!
