- Right click the graph and click Properties
- Select Cursors tab
- Add two cursors (using the Add button) and change their Crosshair Style to Major Y Only
- Close out of the Properties dialog
- In the code, set the YPosition attribute of the cursor using something similar to:CWGraph1.Cursors(1).YPosition = 8CWGraph1.Cursors(2).YPosition = 2
<img src="http://forums.ni.com/attachments/ni/230/3997/1/GraphWithLimits.gif"> Message Edited by Jervin_J on 06-11-2008 08:28 AM
GraphWithLimits.gif:
http://forums.ni.com/attachments/ni/230/3997/1/GraphWithLimits.gif