2021-02-11 09:40 PM
I'm using Dynamicgrapgh widget in TouchGFX to represent the sensor values graphically, i want to display the X and Y axis labels. I'm unable to get the labels on display UI even though i have enables Horizontal and vertical axis labels. Also how to write a function to update the sensor values on graph. Suggest me a solution
Solved! Go to Solution.
2021-02-12 02:43 AM
Could you share a screenshot of your graph configuration in TouchGFX Designer ? In the right tab there is an option to set the text for the label, you also have to set the "Graph area margin" section.
/Romain
2021-02-12 12:21 AM
Hi,
Could you share screenshots of your issue ? It will help us visualize what you are trying to do.
Concerning the graph, have you looked at the UI template "Dynamic Graph Example" ? What you need to do is replace the random values generated by the values from your sensor. This video guide from Jesper may help you understand how to work with it.
/Romain
2021-02-12 01:07 AM
HI Romain
I have gone through that UI template, i tried the same way. Only thing x and Y axis labels are not displaying.
Thank You
/Megh
2021-02-12 02:43 AM
Could you share a screenshot of your graph configuration in TouchGFX Designer ? In the right tab there is an option to set the text for the label, you also have to set the "Graph area margin" section.
/Romain
2021-02-15 12:39 AM
HI,
Have you been able to find a solution or workaround ?
/Romain
2021-02-15 12:46 AM
Hi Romain,
Thanks for sharing those details, now I'm able to see the y-axis labels on the UI.
I'm trying now to update the graph with sensor values.
/Megh
2021-02-15 12:52 AM
ok great :thumbs_up:
/Romain
2021-02-15 01:57 AM
will get back to you if I have further queries.
/Megh
2021-02-22 12:18 AM
Hi Mk.3,
If this query is completed, please close this topic by choosing Select as Best. And create a new post for the next question you might have.
/Alexandre