# Timeseries Chart not working with dataset data

**URL:** <https://forum.inductiveautomation.com/t/timeseries-chart-not-working-with-dataset-data/103947>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 20, 2025, 1:38pm UTC](https://forum.inductiveautomation.com/t/timeseries-chart-not-working-with-dataset-data/103947 "2025-03-20T13:38:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ben.smosarski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ben.smosarski/32/73954_2.png) [@ben.smosarski](https://forum.inductiveautomation.com/u/ben.smosarski)\
**Post date:** [March 20, 2025, 1:38pm UTC](https://forum.inductiveautomation.com/t/timeseries-chart-not-working-with-dataset-data/103947/1 "2025-03-20T13:38:13Z")

</div>

Hello! I am trying to populate a time series chart using a dataset located in a custom view property. Looking at the time series chart section of the user manual, it looks like this is possible as long as the time column is the first column, which I have.

My time series chart says "component error" as soon as I bind the dataset to the series' data property:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/6/c6dfdc032634a7f4a9b12f67e70b1e2c89ab75cd.png)

Is anyone able to advise what I'm doing wrong? I have tried deleting and reinserting the time series chart component as well. Thanks!

---

<div class="post-metadata">

**Author:** ![Benjamin\_Furlani](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/benjamin_furlani/32/66084_2.png) [@Benjamin\_Furlani](https://forum.inductiveautomation.com/u/Benjamin_Furlani)\
**Post date:** [March 20, 2025, 2:30pm UTC](https://forum.inductiveautomation.com/t/timeseries-chart-not-working-with-dataset-data/103947/2 "2025-03-20T14:30:13Z")

</div>

Something to note is if you are in play mode you can hover over the information icon next to Component Error and it will give you the related error. Sometimes it does just say minified React error, but it can be helpful.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 20, 2025, 2:34pm UTC](https://forum.inductiveautomation.com/t/timeseries-chart-not-working-with-dataset-data/103947/3 "2025-03-20T14:34:36Z")

</div>

![Dataset justification](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/5/4578e1c13861cd3dc8f8bbae07c73be6c64f3fd6.png)

The left-justified data makes me suspect that they're all strings.  
You need numbers!

---

<div class="post-metadata">

**Author:** ![ben.smosarski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ben.smosarski/32/73954_2.png) [@ben.smosarski](https://forum.inductiveautomation.com/u/ben.smosarski)\
**Post date:** [March 20, 2025, 4:57pm UTC](https://forum.inductiveautomation.com/t/timeseries-chart-not-working-with-dataset-data/103947/4 "2025-03-20T16:57:34Z")

</div>

Yes I noticed this. It is saying "data must be in chronological order" but as far as I can tell it is. I tried pre-sorting the data by time ascending and descending, but unfortunately this made no difference.

---

<div class="post-metadata">

**Author:** ![ben.smosarski](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/ben.smosarski/32/73954_2.png) [@ben.smosarski](https://forum.inductiveautomation.com/u/ben.smosarski)\
**Post date:** [March 20, 2025, 4:58pm UTC](https://forum.inductiveautomation.com/t/timeseries-chart-not-working-with-dataset-data/103947/5 "2025-03-20T16:58:49Z")

</div>

These are definitely floats, as they are direct queries from the DB.

---

<div class="post-metadata">

**Author:** ![michael.flagler](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/michael.flagler/32/26272_2.png) [@michael.flagler](https://forum.inductiveautomation.com/u/michael.flagler)\
**Post date:** [March 20, 2025, 5:03pm UTC](https://forum.inductiveautomation.com/t/timeseries-chart-not-working-with-dataset-data/103947/6 "2025-03-20T17:03:20Z")

</div>

Does the timeseries chart want date/time format rather than epoch timestamps maybe? I haven't worked in Perspective for a while now, but I would think that could be a possibility.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 20, 2025, 5:04pm UTC](https://forum.inductiveautomation.com/t/timeseries-chart-not-working-with-dataset-data/103947/7 "2025-03-20T17:04:00Z")

</div>

From the dataset editor, click the button to copy to clipboard. Paste here inside a "preformated text" style section.

---

<div class="post-metadata">

**Author:** ![Transistor](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/transistor/32/3380_2.png) [@Transistor](https://forum.inductiveautomation.com/u/Transistor)\
**Post date:** [March 20, 2025, 5:48pm UTC](https://forum.inductiveautomation.com/t/timeseries-chart-not-working-with-dataset-data/103947/8 "2025-03-20T17:48:35Z")

</div>

> [@ben.smosarski](#):
>
> These are definitely floats...

Double-check: add an expression transform on the dataset to find the type of one of the elements. e.g.,  
`typeOf({value}[2, 2])`
