# Cycle time per hour using discret tag and Tag History for data binding to chart in perspective

**URL:** <https://forum.inductiveautomation.com/t/cycle-time-per-hour-using-discret-tag-and-tag-history-for-data-binding-to-chart-in-perspective/32969>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [March 10, 2020, 1:12pm UTC](https://forum.inductiveautomation.com/t/cycle-time-per-hour-using-discret-tag-and-tag-history-for-data-binding-to-chart-in-perspective/32969 "2020-03-10T13:12:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mason.Younger](https://avatars.discourse-cdn.com/v4/letter/m/50afbb/32.png) [@Mason.Younger](https://forum.inductiveautomation.com/u/Mason.Younger)\
**Post date:** [March 10, 2020, 1:12pm UTC](https://forum.inductiveautomation.com/t/cycle-time-per-hour-using-discret-tag-and-tag-history-for-data-binding-to-chart-in-perspective/32969/1 "2020-03-10T13:12:21Z")

</div>

I have tag history setup for a tag that toggles true once a cycle is completed.

How can I use “Tag History” under binding to show how many times this tag turned true in an hour? I would like to show plot this to show performance. Even better would be to show this in 15min interval and multiply by 4 to show higher resolution.

I would like the data to be something like:  
time - qty/hour  
07:00 - 12  
07:15 - 15  
07:30 - 10  
07:45 - 11  
08:00 - 12

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

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/8/845ce8e16d8d459d6ee8950d2d6f63f6a406a91a.png)
