Skip to main content
Associate II
July 23, 2025
Solved

Static and dynamic graphs - Division offset

  • July 23, 2025
  • 1 reply
  • 495 views

Hi

The normal behavior of the division lines and labels of the graphs are that the they are placed at the integer multiples of the interval set for the widget. If the offset on the axis are zero, it will off cause be the most obvious solution.

But in our application we got up to three curves in the same chart solved by placing multiple graphs on top of each other as the have different units on the axis. Only one of the Y-axis starts at zero and the divisions are therefore defined by this.

But as the two other graphs has offset not in the division interval, the labels are not placed at the division lines. They are placed in an integer multiple of the interval. And that does not look good. 

Of cause I could disable the labels created from the graphs, and place them manually using text areas. But is there a solution to offset the location of the labels (and there values) and the division lines?

Examples. This is what is possible: (Of cause I can use the right interval, but then the min/max values are not shown, and the labels are not at the division lines)

image.png

This is what I want:

Leonhardt_0-1753259164345.png

Regards

Kasper Leonhardt

Best answer by Leonhardt

Thanks. I Solved it by adding the markers dynamically. And I made the graph as a bitmap image. Then I got totally freedom :beaming_face_with_smiling_eyes:.

Kasper

 

 

1 reply

Osman SOYKURT
Technical Moderator
August 12, 2025

Hello @Leonhardt ,

The workaround you mention is also what I would use if I needed to place three graphs on top of each other. Currently, there is no native way to position the labels at specific locations.

Osman SOYKURTST Software Developer | TouchGFX
LeonhardtAuthorBest answer
Associate II
August 12, 2025

Thanks. I Solved it by adding the markers dynamically. And I made the graph as a bitmap image. Then I got totally freedom :beaming_face_with_smiling_eyes:.

Kasper

 

 

Osman SOYKURT
Technical Moderator
August 12, 2025

Great to hear you have solved your issue. Please mark your answer as the solution to help other community members find it more easily :)

Osman SOYKURTST Software Developer | TouchGFX