# XY Chart doesn't clear dataset

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-doesnt-clear-dataset/49474>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [August 2, 2021, 8:20pm UTC](https://forum.inductiveautomation.com/t/xy-chart-doesnt-clear-dataset/49474 "2021-08-02T20:20:40Z")\
**Posts on this page:** 1\
**Showing post:** 15

<div class="post-metadata">

**Author:** ![zacharyw.larson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/zacharyw.larson/32/23749_2.png) [@zacharyw.larson](https://forum.inductiveautomation.com/u/zacharyw.larson)\
**Post date:** [April 20, 2023, 1:44pm UTC](https://forum.inductiveautomation.com/t/xy-chart-doesnt-clear-dataset/49474/15 "2023-04-20T13:44:51Z")

</div>

[Binding seems to cause a flash of an error on XY chart when the page is loaded, v8.19 - #2 by pturmel](https://forum.inductiveautomation.com/t/binding-seems-to-cause-a-flash-of-an-error-on-xy-chart-when-the-page-is-loaded-v8-19/72254/2)]

Here is the link, but I didn't figure it out.

I am running the same query for values I check, and then I have a script transform that looks at those to spit-out the values I want for the different bindings.

* * *

Here is a way to check on types in python --- return from a dataset was easy  
`return [type(columnName[index]]`

`return [type(hours[1]), type(net[1])]`

Or maybe push your data to a table, maybe your data has duplicates or type ordering obstacles?  
Or hidden milliseconds when using the datetimes?  
These were some gotchas that got me and took a bit anyway.

---

_[View the full topic](https://forum.inductiveautomation.com/t/xy-chart-doesnt-clear-dataset/49474)._
