LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Is it posible to set number of divisions to minor grid in graphs/strip charts?

Is it possible to set number of division by user on run time on Graph as well as on strip chart?
0 Kudos
Message 1 of 2
(2,915 Views)
Hi,

You can set the number of divisions on an axis. as far as minor divisions goes, you can only set them to be visible or not visible.

You must use the SetCtrlAttribute() function to set the number of divisions. The attributes are ATTR_XDIVISIONS, ATTR_YDIVISIONS. if you are using the top X axis or the left Y axis you'll have to use the ATTR_ACTIVE_XAXIS and ATTR_ACTIVE_YAXIS attributes to set the active axis.

If you require more control you could use cursors to indicate some divisions, or even ploting lines to manualy to separate the data.

I hope this helps.

Regards,

Juan Carlos
N.I.
0 Kudos
Message 2 of 2
(2,915 Views)