# Chart in real time

**URL:** <https://forum.inductiveautomation.com/t/chart-in-real-time/15339>\
**Category:** General Discussion\
**Created:** [September 14, 2017, 11:43am UTC](https://forum.inductiveautomation.com/t/chart-in-real-time/15339 "2017-09-14T11:43:31Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![antoniosantos\_ccb](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@antoniosantos\_ccb](https://forum.inductiveautomation.com/u/antoniosantos_ccb)\
**Post date:** [September 14, 2017, 11:43am UTC](https://forum.inductiveautomation.com/t/chart-in-real-time/15339/1 "2017-09-14T11:43:31Z")

</div>

I need to assemble a template with 10 charts to show the temperature of ten pieces of equipment. Could someone tell me how to display the temperature from 2h, 4h, 8h … 24h ago so far updating from 5 ‘in 5’ or 10 ‘in 10’ minutes. All this with updates in real time.  
I do not know if I was clear in my doubt.

---

<div class="post-metadata">

**Author:** ![Mr.K001](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@Mr.K001](https://forum.inductiveautomation.com/u/Mr.K001)\
**Post date:** [September 14, 2017, 4:14pm UTC](https://forum.inductiveautomation.com/t/chart-in-real-time/15339/2 "2017-09-14T16:14:43Z")

</div>

It might be helpful to be more clear, are you trying to show the 2h,4h,8h etc… each in one chart or you want each chart to have 2h,4h,8h etc… all in one chart for each machine?  
I’m lost after that, what you me 5 in 5 and 10 in 10? you want to update them in a specific pattern??

---

<div class="post-metadata">

**Author:** ![antoniosantos\_ccb](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@antoniosantos\_ccb](https://forum.inductiveautomation.com/u/antoniosantos_ccb)\
**Post date:** [September 14, 2017, 5:02pm UTC](https://forum.inductiveautomation.com/t/chart-in-real-time/15339/3 "2017-09-14T17:02:43Z")

</div>

Let’s think of a chart for just one piece of equipment.  
In this chart I need to show the temperature of this equipment (I already have the tag for that) and the user can choose to see the last 2hr, 4hr, 8hr etc. It filters. And be able to choose the update pattern. If you want to update every 5 minutes, 10 in 10 minutes etc. In real time.  
It would be possible?

---

<div class="post-metadata">

**Author:** ![Mr.K001](https://avatars.discourse-cdn.com/v4/letter/m/ea5d25/32.png) [@Mr.K001](https://forum.inductiveautomation.com/u/Mr.K001)\
**Post date:** [September 14, 2017, 5:07pm UTC](https://forum.inductiveautomation.com/t/chart-in-real-time/15339/4 "2017-09-14T17:07:33Z")

</div>

Well you say you have the tag for the temperature right? for the chart to work the data has to come from some table so first you need to make a transaction group and put data in the table, you can do it however you want, I’d say maybe every minute. so every 60 second one row of data goes into the table and then you can query the data how you want.

---

<div class="post-metadata">

**Author:** ![antoniosantos\_ccb](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@antoniosantos\_ccb](https://forum.inductiveautomation.com/u/antoniosantos_ccb)\
**Post date:** [September 14, 2017, 6:13pm UTC](https://forum.inductiveautomation.com/t/chart-in-real-time/15339/5 "2017-09-14T18:13:54Z")

</div>

Is this the best way?  
I am ask you because I never do this.

---

<div class="post-metadata">

**Author:** ![antoniosantos\_ccb](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@antoniosantos\_ccb](https://forum.inductiveautomation.com/u/antoniosantos_ccb)\
**Post date:** [September 15, 2017, 12:20pm UTC](https://forum.inductiveautomation.com/t/chart-in-real-time/15339/6 "2017-09-15T12:20:34Z")

</div>

Say me if the Tag Historin works like this. Please.

---

<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:** [September 15, 2017, 12:47pm UTC](https://forum.inductiveautomation.com/t/chart-in-real-time/15339/7 "2017-09-15T12:47:27Z")

</div>

Configure tag history on one of your database connections. Edit your tags to enable history and set the timing and deadband requirements for recordings.  
Place EasyCharts on your monitoring window. Drag history-enabled tags from the tag browser to the appropriate charts.

---

<div class="post-metadata">

**Author:** ![antoniosantos\_ccb](https://avatars.discourse-cdn.com/v4/letter/a/e0b2c6/32.png) [@antoniosantos\_ccb](https://forum.inductiveautomation.com/u/antoniosantos_ccb)\
**Post date:** [September 15, 2017, 12:49pm UTC](https://forum.inductiveautomation.com/t/chart-in-real-time/15339/8 "2017-09-15T12:49:39Z")

</div>

Thank you all for the help.
