# Perspective time series chart timeAxis label

**URL:** <https://forum.inductiveautomation.com/t/perspective-time-series-chart-timeaxis-label/110783>\
**Category:** Ignition\
**Tags:** perspective\
**Created:** [September 19, 2025, 1:33pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-timeaxis-label/110783 "2025-09-19T13:33:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![changiz.tavakoli](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@changiz.tavakoli](https://forum.inductiveautomation.com/u/changiz.tavakoli)\
**Post date:** [September 19, 2025, 1:33pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-timeaxis-label/110783/1 "2025-09-19T13:33:33Z")

</div>

Is there a way to customize the tick label on the timeAxis in Time Series chart, to show some custom generated values, instead of showing date/time values? (other than the date/time format)

---

<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:** [September 19, 2025, 2:37pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-timeaxis-label/110783/2 "2025-09-19T14:37:36Z")

</div>

It sounds as though you're trying to make a chart with categories on the X axis. The [XY Chart](https://www.docs.inductiveautomation.com/docs/8.1/appendix/components/perspective-components/perspective-chart-palette/perspective-xy-chart) component is the correct chart for that. The Time Series Chart component is for, ummmm, time series!

Set `PROPS.xAxes.0.render : category` and work from there.

---

<div class="post-metadata">

**Author:** ![changiz.tavakoli](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@changiz.tavakoli](https://forum.inductiveautomation.com/u/changiz.tavakoli)\
**Post date:** [September 19, 2025, 4:02pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-timeaxis-label/110783/3 "2025-09-19T16:02:03Z")

</div>

I appreciate your effort to help; as you read and replied to my previous post, repeating here again, I do realize that XY chart is better suited, but the performance and rendering speed is not that great. This is a batch process, and x-axis is still of time nature, but instead of datetime I need to show hours elapsed from a reference time.  
Any help from people with knowledge on this component and understanding of Batch process is greatly appreciated. @jball

---

<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:** [September 19, 2025, 4:10pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-timeaxis-label/110783/4 "2025-09-19T16:10:55Z")

</div>

Well then just subtract the batch start time from each of the time values in the time series chart data. Format the time axis in 'HH:mm'. It will then start at `00:00`.

---

<div class="post-metadata">

**Author:** ![changiz.tavakoli](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@changiz.tavakoli](https://forum.inductiveautomation.com/u/changiz.tavakoli)\
**Post date:** [September 19, 2025, 4:27pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-timeaxis-label/110783/5 "2025-09-19T16:27:48Z")

</div>

It does not. The way I have built it so far is to subtract the time and convert the delta to hours and set the format to X (fooling the chart to think the time is started from EPOCH zero). It’s acceptable, but the InfoBox loses the below 1 hour resolution. In addition, although the process spans over several days, but during the first few hours, tick labels do not appear properly, they read stl [0,0,0,1,1,1], although this last one is minor, I can script the count . Anyway, once again, thanks for the effort to help.

---

<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:** [September 19, 2025, 5:46pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-timeaxis-label/110783/6 "2025-09-19T17:46:56Z")

</div>

If your batches are less than 60 hours max you could try this hack:

- Subtract the batch start time as I suggested and I think you are doing.
- Divide the results by 60 to convert `08:10:30` to `00:08:10`.
- Use time format `m:ss` instead of `h:mm`.

I played around with it a bit and I think it could work.

[AM Charts](https://www.amcharts.com/docs/v5/concepts/formatters/formatting-dates/) documentation doesn't seem to have a format for hours \> 24.

---

<div class="post-metadata">

**Author:** ![changiz.tavakoli](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@changiz.tavakoli](https://forum.inductiveautomation.com/u/changiz.tavakoli)\
**Post date:** [September 19, 2025, 9:38pm UTC](https://forum.inductiveautomation.com/t/perspective-time-series-chart-timeaxis-label/110783/7 "2025-09-19T21:38:50Z")

</div>

Thanks, it’s the same principal, instead of spoofing the values to hours, converts to minutes. The m:ss was nice though, although unfortunately my batches are often above 175 hours long.
