# Periodical refresh of a tag history dataset

**URL:** <https://forum.inductiveautomation.com/t/periodical-refresh-of-a-tag-history-dataset/88490>\
**Category:** Ignition\
**Tags:** ignition81, perspective\
**Created:** [April 8, 2024, 4:07am UTC](https://forum.inductiveautomation.com/t/periodical-refresh-of-a-tag-history-dataset/88490 "2024-04-08T04:07:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Steve\_Booth](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/steve_booth/32/82019_2.png) [@Steve\_Booth](https://forum.inductiveautomation.com/u/Steve_Booth)\
**Post date:** [April 8, 2024, 4:07am UTC](https://forum.inductiveautomation.com/t/periodical-refresh-of-a-tag-history-dataset/88490/1 "2024-04-08T04:07:27Z")

</div>

I have time series chart with a series that is bound to a tag history dataset. Currently it updates on pull down event script 'onActionPerformed'. It is working fine, but I would like the chart to update every 5 seconds in the browser session.  
How can I acheive this?  
I considered creating a memory tag that flips state every 5 seconds and the run an event script from that, but it doesn't seem efficient and I couldn't work out how to do that anyway 🙂  
I feel like there must be an easy way built into Perspective to acheive this functionality.

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

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

Thanks

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [April 8, 2024, 12:00pm UTC](https://forum.inductiveautomation.com/t/periodical-refresh-of-a-tag-history-dataset/88490/2 "2024-04-08T12:00:46Z")

</div>

Arrange for your start/end timestamps to be tied to datatime properties that advance every five seconds. Typically by including `now(5000)` in their expressions.
