Skip to main content
SSchn.6
Visitor II
May 8, 2023
Question

touchgfx dynamic graph X-Axis label

  • May 8, 2023
  • 1 reply
  • 1939 views

Good day everyone,

I am trying to use the existing dynamic graph in such a way, that the x-axis labels are using a timestamp rather than a simple incrementing number. This is what I currently have:


_legacyfs_online_stmicro_images_0693W00000bjbOmQAI.pngAnd this is what I need:


_legacyfs_online_stmicro_images_0693W00000bjbP1QAI.pngI guess I haven't fully understood the concept of wildcards, but this is currently the settings I have:


_legacyfs_online_stmicro_images_0693W00000bjbPBQAY.pngAny hint is highly appreciated as I found several posts like this in this forum but none of them got answered properly, so I hope that this post would clarify how to properly use the X-Axis Labels

EDIT:

I probably found the place where the formatting of the Axis is done:


_legacyfs_online_stmicro_images_0693W00000bjbWvQAI.pngBut due to the fact, that the "formatLabel" method is not virtual, it seems that using the existing widget will no work for me, correct?

This topic has been closed for replies.

1 reply

Paulo Rego
Associate II
December 4, 2023

Hi,
I have the same problem,

the X axis should be (date time) of the rtc.

I also have doubts.

Refards,