cancel
Showing results for 
Search instead for 
Did you mean: 

How to set Y-Axis Labels scale?

nikof
Associate II

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

3 REPLIES 3
Romain DIELEMAN
ST Employee

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.0693W00000UoLETQA3.pngOr maybe I have not understood your issue correctly, could you provide some screenshots of your project and what you are trying to do ?

/Romain

Hi Romain,

if I do like you suggest the result is this:

0693W00000UoLIzQAN.pngAs 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.

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