# Tag history binding in xy Chart perspective

**URL:** <https://forum.inductiveautomation.com/t/tag-history-binding-in-xy-chart-perspective/23900>\
**Category:** Ignition Early Access\
**Created:** [April 7, 2019, 11:29am UTC](https://forum.inductiveautomation.com/t/tag-history-binding-in-xy-chart-perspective/23900 "2019-04-07T11:29:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 7, 2019, 11:29am UTC](https://forum.inductiveautomation.com/t/tag-history-binding-in-xy-chart-perspective/23900/1 "2019-04-07T11:29:55Z")

</div>

Hi

Can some one explain to me how to bind tag history binding to XY chart dataSources property?  
I try this binding without success.

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

---

<div class="post-metadata">

**Author:** ![cmallonee](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/cmallonee/32/6416_2.png) [@cmallonee](https://forum.inductiveautomation.com/u/cmallonee)\
**Post date:** [April 8, 2019, 2:19pm UTC](https://forum.inductiveautomation.com/t/tag-history-binding-in-xy-chart-perspective/23900/2 "2019-04-08T14:19:05Z")

</div>

Please see the following post:

> [@\[Question\] XYChart with Tag History](http://forum.inductiveautomation.com/t/question-xychart-with-tag-history/21021/5):
>
> Sorry for the late response but, the queryHistory() function that is used in the demo project is located in the Project \> Scripting \> Script Library \> history file on the project browser for the demo project. Although I will warn you, it is very complex and probably more than what a normal history binding should look like. I’ve attached a more simple example of history binding using the XYChart. [testHistory.proj](https://us1.discourse-cdn.com/inductiveautomation/original/2X/0/09145259fce71a133ce3f5a4f46da35326265112.proj) (13.8 KB) This project has one view with 2 XYCharts. One using the tag history bind…

---

<div class="post-metadata">

**Author:** ![Paul.Scott](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul.scott/32/4578_2.png) [@Paul.Scott](https://forum.inductiveautomation.com/u/Paul.Scott)\
**Post date:** [April 8, 2019, 3:35pm UTC](https://forum.inductiveautomation.com/t/tag-history-binding-in-xy-chart-perspective/23900/3 "2019-04-08T15:35:13Z")

</div>

Looks like Cody was able to point you in the right direction, but in the interest of posterity, we do have an IU video on the matter. The example on the XY Chart video uses a Tag History binding: [XY Chart](https://www.inductiveuniversity.com/videos/xy-chart/8.0)

---

<div class="post-metadata">

**Author:** ![nader.chinichian](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/nader.chinichian/32/9261_2.png) [@nader.chinichian](https://forum.inductiveautomation.com/u/nader.chinichian)\
**Post date:** [April 8, 2019, 4:21pm UTC](https://forum.inductiveautomation.com/t/tag-history-binding-in-xy-chart-perspective/23900/4 "2019-04-08T16:21:23Z")

</div>

That’s great news, last time I check University there is no video for this.
