# XY Chart, cant have a dataset working

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-cant-have-a-dataset-working/35083>\
**Category:** Ignition\
**Created:** [May 27, 2020, 2:50pm UTC](https://forum.inductiveautomation.com/t/xy-chart-cant-have-a-dataset-working/35083 "2020-05-27T14:50:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jesus.gaxiola](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jesus.gaxiola](https://forum.inductiveautomation.com/u/jesus.gaxiola)\
**Post date:** [May 27, 2020, 2:50pm UTC](https://forum.inductiveautomation.com/t/xy-chart-cant-have-a-dataset-working/35083/1 "2020-05-27T14:50:57Z")

</div>

Hi All  
First of all, thanks… I have been using this forum a lot and most of the time I got the help from those posts.

But, today, Im trying to populate a XY chart with a table that i got from a named query…  
I may not understand yet how to link the data to the series… seems like its so simple but im missing something.  
I have a named query “x” and i got a dataset… think it might be binding to the example or not, delete example and create the name I want must have same effect. The data set is a dynamic table that change often, but, at least have Model and Quantity on it.

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

Want to create a bar chart that shows the quantity per model… got nothing… lol… a blank graph…

Please explain how to bind the data to the series, I will appreciate.

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

A pie chart just work…

Regards  
Jesus

---

<div class="post-metadata">

**Author:** ![jonathan.taylor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/jonathan.taylor/32/4048_2.png) [@jonathan.taylor](https://forum.inductiveautomation.com/u/jonathan.taylor)\
**Post date:** [May 27, 2020, 3:59pm UTC](https://forum.inductiveautomation.com/t/xy-chart-cant-have-a-dataset-working/35083/2 "2020-05-27T15:59:59Z")

</div>

Hi Jesus,

Have you tried bringing the data back in json format?

---

<div class="post-metadata">

**Author:** ![jesus.gaxiola](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jesus.gaxiola](https://forum.inductiveautomation.com/u/jesus.gaxiola)\
**Post date:** [May 27, 2020, 4:57pm UTC](https://forum.inductiveautomation.com/t/xy-chart-cant-have-a-dataset-working/35083/3 "2020-05-27T16:57:06Z")

</div>

yes… no luck either…  
in json format the data looks just like the default example data … and in that way I assign to the series data what in the points names are…  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/5/58ce515447cb5acb45f003cd9b6c38d0b89d2a3d.png)  
Json format  
and here is how I bind the series(X) to the data

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

Im using ther version 8.0.12 think

REgards

---

<div class="post-metadata">

**Author:** ![jesus.gaxiola](https://avatars.discourse-cdn.com/v4/letter/j/73ab20/32.png) [@jesus.gaxiola](https://forum.inductiveautomation.com/u/jesus.gaxiola)\
**Post date:** [May 27, 2020, 5:13pm UTC](https://forum.inductiveautomation.com/t/xy-chart-cant-have-a-dataset-working/35083/4 "2020-05-27T17:13:08Z")

</div>

Its working now…

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/2X/a/a737630547864e76f68ef5303e271aad54fb1600.png)  
Additional to Series, xAxes and yAxes needs to configure the render prop…

Thanks
