# Time series chart - time problem

**URL:** <https://forum.inductiveautomation.com/t/time-series-chart-time-problem/67309>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [December 6, 2022, 9:36pm UTC](https://forum.inductiveautomation.com/t/time-series-chart-time-problem/67309 "2022-12-06T21:36:10Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tim\_Hansson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim_hansson/32/39365_2.png) [@Tim\_Hansson](https://forum.inductiveautomation.com/u/Tim_Hansson)\
**Post date:** [December 6, 2022, 9:36pm UTC](https://forum.inductiveautomation.com/t/time-series-chart-time-problem/67309/1 "2022-12-06T21:36:10Z")

</div>

Hi,  
I would like to get the "time" in the dataset from an expression but it leads to an component error? When I write the exact same date with no binding it works. Is this expected behaviour?

 ![time series chart](https://us1.discourse-cdn.com/inductiveautomation/original/3X/6/9/69e52db6e4577e2f0221935c846f03ba8b7d6cf1.png)

---

<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:** [December 6, 2022, 10:32pm UTC](https://forum.inductiveautomation.com/t/time-series-chart-time-problem/67309/2 "2022-12-06T22:32:05Z")

</div>

Remove the transform on the expession? Ignition will recognise the returned data as a datetime type. (You'll see a little calander icon beside the returned value in `props.series.0.data.0.time`.

 ![TimeSeries Chart binding](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/1/c1fec3f77ec831d782f9362922a0febf10879dc0.png)

---

<div class="post-metadata">

**Author:** ![Tim\_Hansson](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/tim_hansson/32/39365_2.png) [@Tim\_Hansson](https://forum.inductiveautomation.com/u/Tim_Hansson)\
**Post date:** [December 7, 2022, 6:35am UTC](https://forum.inductiveautomation.com/t/time-series-chart-time-problem/67309/3 "2022-12-07T06:35:08Z")

</div>

Thanks I tried that before but didn't work. It worked now but I had to activate the preview for it to work, thanks!
