# XY Chart problem "cannot read properties of undefined (reading 'dataFields')"

**URL:** <https://forum.inductiveautomation.com/t/xy-chart-problem-cannot-read-properties-of-undefined-reading-datafields/52832>\
**Category:** Ignition\
**Created:** [November 8, 2021, 2:13pm UTC](https://forum.inductiveautomation.com/t/xy-chart-problem-cannot-read-properties-of-undefined-reading-datafields/52832 "2021-11-08T14:13:57Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![lrose](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/lrose/32/62724_2.png) [@lrose](https://forum.inductiveautomation.com/u/lrose)\
**Post date:** [January 12, 2022, 12:33pm UTC](https://forum.inductiveautomation.com/t/xy-chart-problem-cannot-read-properties-of-undefined-reading-datafields/52832/3 "2022-01-12T12:33:34Z")

</div>

There was a bug with this component that may be related to what you are seeing. Looks like it was corrected in 8.1.13.

> [@\[BUG-2363\] XY Chart - Component Error since 8.1.4](https://forum.inductiveautomation.com/t/bug-2363-xy-chart-component-error-since-8-1-4/45394):
>
> Anybody else have issue with XY chart since 8.1.4 I don’t know what the issue is exactly, but when I have an XY chart with a binding with a script for the moment, the chart sometimes display “Component Error” with the detail “Cannot read property ‘dataFields’ of undefined”. Most of the time, F5 fix the issue, but it’s annoying [image]

---

_[View the full topic](https://forum.inductiveautomation.com/t/xy-chart-problem-cannot-read-properties-of-undefined-reading-datafields/52832)._
