2022-10-17 01:21 AM
Hi All,
I have a question about dynamic graph widget in TouchGFX.
How can I set different scale for Y-Axis labels?
For example, I have data values that goes from 0 to 20000 so I set the Value Range from 0 to 20000. But I want to display Y-Axis labels from 0 to 20. Is it possible?
Thanks,
Niko
2022-10-19 03:25 AM
Hi,
You can play around the Y axis label by changing the "interval" value in the "Y-Axis Labels" settings of the dynamic graph widget.Or maybe I have not understood your issue correctly, could you provide some screenshots of your project and what you are trying to do ?
/Romain
2022-10-19 03:46 AM
Hi Romain,
if I do like you suggest the result is this:
As you can see the labels are 2000, 4000, 6000... and so on.
But I want to see 2, 4, 6... etc.
What need is a scaling factor for the labels. I didn't found it. Maybe it is not possible.
2022-10-19 04:29 AM
Ok I understand better now :thumbs_up: No I don't think you can do that through the settings in TouchyGFX Designer but I would personally just divide the data points by 1000 before sending them to the graph and then use the 2, 4, 6 labels instead.
/Romain