# XYChart Xaxis time problem (-1 hour offset)

**URL:** <https://forum.inductiveautomation.com/t/xychart-xaxis-time-problem-1-hour-offset/90957>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [May 27, 2024, 1:11pm UTC](https://forum.inductiveautomation.com/t/xychart-xaxis-time-problem-1-hour-offset/90957 "2024-05-27T13:11:32Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Aiasa21](https://avatars.discourse-cdn.com/v4/letter/a/aeb1de/32.png) [@Aiasa21](https://forum.inductiveautomation.com/u/Aiasa21)\
**Post date:** [May 27, 2024, 1:11pm UTC](https://forum.inductiveautomation.com/t/xychart-xaxis-time-problem-1-hour-offset/90957/1 "2024-05-27T13:11:32Z")

</div>

Hi guys, I'm using a XY chart to show the production status of some machines.

I have the data coming from a SQL query and then with a script transform I manage it so to graph this data.  
The problem is that the dataSources shows the correct fromDate/toDate, but when I try to show them on the chart I have a -1hour offset.

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/e/deadaab2c20d877a5463c53daa9c72e687d13843.png)

This are the xAxes properties

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/4/8/489495fbb4dd96796091de7b367f56a626d623ff.png)

The timeZoneId is set correctly here  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/c/7/c79726d919cf18f3672641599a147baf2a6ae38b.png)

and here I have this settings

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/0/7/075f5526b274fc89f872661205bf05f3b9570c09.png)

What else could I try to do?
