# How do I pass parameter to a chart (in a pop up) on ignition?

**URL:** <https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167>\
**Category:** Ignition\
**Tags:** vision\
**Created:** [February 2, 2024, 4:57pm UTC](https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167 "2024-02-02T16:57:25Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![prii1997](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@prii1997](https://forum.inductiveautomation.com/u/prii1997)\
**Post date:** [February 2, 2024, 4:57pm UTC](https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167/1 "2024-02-02T16:57:25Z")

</div>

I am having trouble binding the following^^

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [February 2, 2024, 5:00pm UTC](https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167/2 "2024-02-02T17:00:22Z")

</div>

Going to need more information. Where are you trying to make this binding?

---

<div class="post-metadata">

**Author:** ![prii1997](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@prii1997](https://forum.inductiveautomation.com/u/prii1997)\
**Post date:** [February 2, 2024, 5:11pm UTC](https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167/3 "2024-02-02T17:11:58Z")

</div>

Hi Sorry about that. Upon opening my pop up, I want to be able to pass a certain parameter to the chart (current value, past value of a selected setpoint) (ofcourse this would be different based on different tag values). Does this make sense?

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [February 2, 2024, 5:15pm UTC](https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167/4 "2024-02-02T17:15:39Z")

</div>

Sure, that says what you want to accomplish, but not how you're trying to accomplish it or what is giving you issues.

Have you looked at this:

[https://docs.inductiveautomation.com/display/DOC81/Parameterized+Popup+Windows](https://docs.inductiveautomation.com/display/DOC81/Parameterized+Popup+Windows)

---

<div class="post-metadata">

**Author:** ![prii1997](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@prii1997](https://forum.inductiveautomation.com/u/prii1997)\
**Post date:** [February 2, 2024, 5:25pm UTC](https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167/5 "2024-02-02T17:25:11Z")

</div>

Hi Thank you for that feedback:

So I already have a pop window where its accepting parameters from the main window. So right now its passing PV,SP,CV values from the main window to pop up window based on the tags I am clicking on on the main window - just like the docs you attached. What I CANT do now is pass a parameter to a chart - to show the visualization of current and past setpoints. When I drag an existing tag to a chart and try to bind with a parameter it is not working. I don't even see an option to do it on the property editor.  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/8/68ab3b560e09316e0a591b581371e56caf733bac.png)

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [February 2, 2024, 5:27pm UTC](https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167/6 "2024-02-02T17:27:29Z")

</div>

> [@prii1997](#):
>
> When I drag an existing tag to a chart and try to bind with a parameter it is not working

I don't understand what you're attempting here. Are you trying to indirectly bind tags to the chart? What chart component are you using?

---

<div class="post-metadata">

**Author:** ![prii1997](https://avatars.discourse-cdn.com/v4/letter/p/3e96dc/32.png) [@prii1997](https://forum.inductiveautomation.com/u/prii1997)\
**Post date:** [February 2, 2024, 5:30pm UTC](https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167/7 "2024-02-02T17:30:34Z")

</div>

II am trying to bind a tag to the chart. To make it look/work like this. I am not sure how I would achieve this in V8.1

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

---

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [February 2, 2024, 5:36pm UTC](https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167/8 "2024-02-02T17:36:12Z")

</div>

As you have found, you can not "Bind" a tag to the chart. (Either Easy Chart or Standard Chart).

Instead you have to add a row to the `tagPens()` Dataset on the easy chart, or you have to manual construct the dataset for the standard chart. This can be accomplished from a property change script on you custom properties. You should be sending the tagPaths to the popup to be processed there.

---

<div class="post-metadata">

**Author:** ![Mohammed\_Afzal](https://avatars.discourse-cdn.com/v4/letter/m/a587f6/32.png) [@Mohammed\_Afzal](https://forum.inductiveautomation.com/u/Mohammed_Afzal)\
**Post date:** [March 1, 2024, 6:20am UTC](https://forum.inductiveautomation.com/t/how-do-i-pass-parameter-to-a-chart-in-a-pop-up-on-ignition/85167/9 "2024-03-01T06:20:31Z")

</div>

Hi, can you please make an example and show how to do this?
