# TimeSeriesChart and datasets

**URL:** <https://forum.inductiveautomation.com/t/timeserieschart-and-datasets/57321>\
**Category:** Ignition\
**Created:** [March 17, 2022, 5:27pm UTC](https://forum.inductiveautomation.com/t/timeserieschart-and-datasets/57321 "2022-03-17T17:27:33Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [March 17, 2022, 5:27pm UTC](https://forum.inductiveautomation.com/t/timeserieschart-and-datasets/57321/1 "2022-03-17T17:27:33Z")

</div>

Hello folks,

Why is it that the series property of the TimeSeriesChart shows an error when bound to a dataset, even though it works just fine ?  
It’s not a huge deal breaker, but I really don’t like that red triangle. And I’m way too lazy to transform that dataset into a json when there’s no need to do it.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/9/5/95613fa3856764395ae9efd77a357b59e911d9e6.png)

---

<div class="post-metadata">

**Author:** ![kvane](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/kvane/32/22228_2.png) [@kvane](https://forum.inductiveautomation.com/u/kvane)\
**Post date:** [March 21, 2022, 5:36pm UTC](https://forum.inductiveautomation.com/t/timeserieschart-and-datasets/57321/2 "2022-03-21T17:36:23Z")

</div>

The component is throwing the error because ‘series’ is meant to be an array of objects. Each object within the array expects a ‘data’ and ‘name’ property. This doesn’t require any transformation you can just rebuild property and move the binding down to the ‘data’ property.

For example:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/e/ced5b0da99f1641bcf1a7cbb8aec103330707e20.png)

---

<div class="post-metadata">

**Author:** ![pascal.fragnoud](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pascal.fragnoud/32/24728_2.png) [@pascal.fragnoud](https://forum.inductiveautomation.com/u/pascal.fragnoud)\
**Post date:** [March 22, 2022, 8:44am UTC](https://forum.inductiveautomation.com/t/timeserieschart-and-datasets/57321/3 "2022-03-22T08:44:45Z")

</div>

Thanks.  
I’m a bit confused as to why it receives something that it’s not expecting but still does exactly what you would expect.
