cancel
Showing results for 
Search instead for 
Did you mean: 

touchgfx dynamic graph X-Axis label

SSchn.6
Associate

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 discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Paulo Rego
Associate II

Hi,
I have the same problem,

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

I also have doubts.

Refards,