# Time-Series Chart: Time axis (X-axis) tick count (manual: 24 ticks for last 24 hour) is not matching with y-axis data timestamp

**URL:** <https://forum.inductiveautomation.com/t/time-series-chart-time-axis-x-axis-tick-count-manual-24-ticks-for-last-24-hour-is-not-matching-with-y-axis-data-timestamp/114762>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [March 30, 2026, 11:46am UTC](https://forum.inductiveautomation.com/t/time-series-chart-time-axis-x-axis-tick-count-manual-24-ticks-for-last-24-hour-is-not-matching-with-y-axis-data-timestamp/114762 "2026-03-30T11:46:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![surajpatil26796](https://avatars.discourse-cdn.com/v4/letter/s/51bf81/32.png) [@surajpatil26796](https://forum.inductiveautomation.com/u/surajpatil26796)\
**Post date:** [March 30, 2026, 11:46am UTC](https://forum.inductiveautomation.com/t/time-series-chart-time-axis-x-axis-tick-count-manual-24-ticks-for-last-24-hour-is-not-matching-with-y-axis-data-timestamp/114762/1 "2026-03-30T11:46:39Z")

</div>

Hi Experts,

I am working on a Time-Series Chart in perspective.

My objective is to display machine status(open[0] and closed[1]) information for the last 24 hours.  
With NamedQuery, I am retrieving the machine status and timestamp information for the last 24 hours. Return format is a dataset.

I have defined one series (consumption) and bound the NamedQuery to the data property.

My Query returns the timestamp in UTC timezone as I store. I am changing the session timezone to view the timestamp as per the site's local timezone(for example: Asia/Kolkata i.e., UTC+5:30 in my case)

I have defined one plot with one axis and one trend.

Screenshot of axis and trend configuration is attached below.

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

For the Time Axis, I have kept the tick count to 24 to always display the last 24 hours.

**But the issue is:**

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

As you can see in the attached graph, the X trace shows 5:51 (which matches the actual timestamp of the data), but the time axis is off by about 30-40 minutes…

Any idea what’s going on and how I can fix this?
