# \[Feature\] Dynamic Perspective trend and sparkline tag path binding

**URL:** <https://forum.inductiveautomation.com/t/feature-dynamic-perspective-trend-and-sparkline-tag-path-binding/24296>\
**Category:** Ignition Early Access\
**Created:** [April 22, 2019, 7:09pm UTC](https://forum.inductiveautomation.com/t/feature-dynamic-perspective-trend-and-sparkline-tag-path-binding/24296 "2019-04-22T19:09:56Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![jhottell](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jhottell/32/6472_2.png) [@jhottell](https://forum.inductiveautomation.com/u/jhottell)\
**Post date:** [April 22, 2019, 7:09pm UTC](https://forum.inductiveautomation.com/t/feature-dynamic-perspective-trend-and-sparkline-tag-path-binding/24296/1 "2019-04-22T19:09:56Z")

</div>

Is there any update to when we will be able to bind trends and sparklines to dynamic tag paths in Perspective? This is a critical feature for me as we have thousands of similar sites (Oil and gas) and when navigating from site to site we just pass the parent tag path and let all the components, charts, and sparklines redirect. I did search around a bit and saw the TabulaRaza demo but it doesn’t look like a feasible workaround to me.  
Thanks.

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [April 23, 2019, 6:12pm UTC](https://forum.inductiveautomation.com/t/feature-dynamic-perspective-trend-and-sparkline-tag-path-binding/24296/2 "2019-04-23T18:12:55Z")

</div>

Maybe this helps  
[https://www.inductiveuniversity.com/videos/tag-history-binding---expression/8.0](https://www.inductiveuniversity.com/videos/tag-history-binding---expression/8.0)

If not, look into returning “json” type from your data source. I haven’t played around with that yet but it looks like it might actually give you some dynamic datasource kind of stuff. I plan to play with that when I have time.

---

<div class="post-metadata">

**Author:** ![jhottell](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jhottell/32/6472_2.png) [@jhottell](https://forum.inductiveautomation.com/u/jhottell)\
**Post date:** [April 25, 2019, 1:03pm UTC](https://forum.inductiveautomation.com/t/feature-dynamic-perspective-trend-and-sparkline-tag-path-binding/24296/3 "2019-04-25T13:03:36Z")

</div>

That is helpful thanks Steve. I used the workaround to get a trend working. Now to do more research in the forums and see if anyone has posted a sample for the sparkline…

---

<div class="post-metadata">

**Author:** ![Steve\_Laubach](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_laubach/32/60900_2.png) [@Steve\_Laubach](https://forum.inductiveautomation.com/u/Steve_Laubach)\
**Post date:** [April 25, 2019, 1:05pm UTC](https://forum.inductiveautomation.com/t/feature-dynamic-perspective-trend-and-sparkline-tag-path-binding/24296/4 "2019-04-25T13:05:32Z")

</div>

My pleasure.

I haven’t messed with a sparkline yet so I can’t help you on that one. Lately I have been having a lot of fun with the geo control. That is a POWERFUL control!

---

<div class="post-metadata">

**Author:** ![swolnisty](https://avatars.discourse-cdn.com/v4/letter/s/7bcc69/32.png) [@swolnisty](https://forum.inductiveautomation.com/u/swolnisty)\
**Post date:** [April 29, 2019, 11:59pm UTC](https://forum.inductiveautomation.com/t/feature-dynamic-perspective-trend-and-sparkline-tag-path-binding/24296/5 "2019-04-29T23:59:49Z")

</div>

I have a similar use case for a number of components. In case you haven’t figured out a solution yet, I’ve been bringing data into my sparklines using a combination of the custom array property described in the tutorial video Steve\_Laubach posted and the script transform option on Tag History binding to format the data the way the sparkline component wants to receive it:  
[https://docs.inductiveautomation.com/display/DOC80/Script+Transform](https://docs.inductiveautomation.com/display/DOC80/Script+Transform)
