LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI graph control Y axis division

I want to set the Y axis division in 25 increment. For example, 0, 25, 50, 75, 100, 125.... regardless of the scale value. If the scale is 470, it will go like .....425, 450, 470. Anybody knows how to achieve this? 

Thanks,

 

Marg_SZ

0 Kudos
Message 1 of 3
(4,196 Views)

You can use the control attribute ATTR_YDIVISIONS and do the calculation manually: round the upper scale value to a multiple of 25, then y_divisions = ( upper_scale_rounded - lower_scale ) / 25

0 Kudos
Message 2 of 3
(4,184 Views)

Good, I will try that. Thank you for help.

0 Kudos
Message 3 of 3
(4,153 Views)