# Perspective Sparkline Chart Dynamic Tag History Time Range

**URL:** <https://forum.inductiveautomation.com/t/perspective-sparkline-chart-dynamic-tag-history-time-range/92052>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [June 18, 2024, 11:12pm UTC](https://forum.inductiveautomation.com/t/perspective-sparkline-chart-dynamic-tag-history-time-range/92052 "2024-06-18T23:12:09Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Randolph\_Sewell](https://avatars.discourse-cdn.com/v4/letter/r/cdc98d/32.png) [@Randolph\_Sewell](https://forum.inductiveautomation.com/u/Randolph_Sewell)\
**Post date:** [June 18, 2024, 11:12pm UTC](https://forum.inductiveautomation.com/t/perspective-sparkline-chart-dynamic-tag-history-time-range/92052/1 "2024-06-18T23:12:09Z")

</div>

I want to bind the sparklines history query time range to something just like how I can with the tag path but for some reason there's not a property for that. For example I want them to be able to change it from last 2 hours to last 1 hour etc... in the actual browser like you could with the regular chart component. Is this possible?

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

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [June 18, 2024, 11:49pm UTC](https://forum.inductiveautomation.com/t/perspective-sparkline-chart-dynamic-tag-history-time-range/92052/2 "2024-06-18T23:49:07Z")

</div>

You click the little _`fx`_ icon under 'Most Recent' and enter an expression, such as a reference to another property, that will be fed in as the number of hours. You can't currently make the _units_ dynamic, but you can always choose the most granular unit you need and do the multiplication yourself.
