# Dynamic Time Series Chart

**URL:** <https://forum.inductiveautomation.com/t/dynamic-time-series-chart/77708>\
**Category:** Ignition\
**Tags:** ignition81, perspective, database\
**Created:** [August 10, 2023, 5:33pm UTC](https://forum.inductiveautomation.com/t/dynamic-time-series-chart/77708 "2023-08-10T17:33:16Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ludson\_Farah](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@Ludson\_Farah](https://forum.inductiveautomation.com/u/Ludson_Farah)\
**Post date:** [August 10, 2023, 5:33pm UTC](https://forum.inductiveautomation.com/t/dynamic-time-series-chart/77708/1 "2023-08-10T17:33:16Z")

</div>

I have an application with several Analog tags. I also have a Pop-up that will show some properties of this tags. One of them will be a Time Series Chart with the historical data of this tag,  
I am using a parameter to make this pop-up dynamic except for this chart.  
How can I make a Time Series Chart Dynamic?

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [August 10, 2023, 5:38pm UTC](https://forum.inductiveautomation.com/t/dynamic-time-series-chart/77708/2 "2023-08-10T17:38:53Z")

</div>

**Option 1** : Pass the data to the popup as a parameter. Bind the chart's `series.0.data` to the `PARAMS` value.  
**Option 2** : Save the data as a `session.custom` property. Have the popup's time series chart `series.0.data` bound to the `session.custom` property.  
**Option 3** : Have the chart binding to a named query (or whatever) and pass the named query parameters in popup view's parameters.

---

<div class="post-metadata">

**Author:** ![Ludson\_Farah](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@Ludson\_Farah](https://forum.inductiveautomation.com/u/Ludson_Farah)\
**Post date:** [August 10, 2023, 6:12pm UTC](https://forum.inductiveautomation.com/t/dynamic-time-series-chart/77708/3 "2023-08-10T18:12:46Z")

</div>

I already passed the data to the popup as a parameter and I'm using it on the others components.  
I binded the series.0.data to the Tag History of the Tag, But I can't use my parameter on this option.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [August 10, 2023, 6:14pm UTC](https://forum.inductiveautomation.com/t/dynamic-time-series-chart/77708/4 "2023-08-10T18:14:59Z")

</div>

> [@Ludson\_Farah](#):
>
> I binded the series.0.data to the Tag History of the Tag, But I can't use my parameter on this option.

You will need to explain this.

1. What have you done? (Show the code or JSON.)
2. What result did you expect?
3. What result did you get?

---

<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:** [August 10, 2023, 6:22pm UTC](https://forum.inductiveautomation.com/t/dynamic-time-series-chart/77708/5 "2023-08-10T18:22:44Z")

</div>

> [@Ludson\_Farah](#):
>
> Tag History of the Tag, But I can't use my parameter on this option

[https://docs.inductiveautomation.com/display/DOC81/Tag+History+Bindings+in+Perspective](https://docs.inductiveautomation.com/display/DOC81/Tag+History+Bindings+in+Perspective)

Scroll all the way to the bottom of this page.

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

---

<div class="post-metadata">

**Author:** ![Ludson\_Farah](https://avatars.discourse-cdn.com/v4/letter/l/ee59a6/32.png) [@Ludson\_Farah](https://forum.inductiveautomation.com/u/Ludson_Farah)\
**Post date:** [August 10, 2023, 6:48pm UTC](https://forum.inductiveautomation.com/t/dynamic-time-series-chart/77708/6 "2023-08-10T18:48:52Z")

</div>

Thank you @lrose Now it worked!!!
