cancel
Showing results for 
Search instead for 
Did you mean: 

Timestamp on X axis label

Riya_L
Associate II

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 1
LouisB
ST Employee

Hello @Riya_L,

Please refer to this post Solved: How to edit Dynamic Graph in TouchGFX to print tim... - STMicroelectronics Community.


BR,

Louis BOUDO
ST Software Engineer | TouchGFX