Skip to main content
Associate II
July 22, 2025
Question

Timestamp on X axis label

  • July 22, 2025
  • 1 reply
  • 201 views

Hi,

I'm currently working with the Dynamic Graph widget in TouchGFX, and I want to display X-axis labels in the format hh:mm:ss to show timestamps (e.g., 00:01:10, 00:01:20, etc.).

Right now, the X-axis labels are just integers, in the range which correspond to the maximum X-range I’ve set in the widget.

Is there any example or recommended method to customize the axis labels on the Dynamic Graph to show such formatted timestamps instead of plain integers?

Any suggestions or code references would be appreciated.

Thanks in advance!

1 reply

ST Employee
July 22, 2025