Well I don't have any example but I can try to explain you the way to do it.
First of all, you have to define one or more cursors in the cursors legend menu (right click on your graph, visible, cursor legend).You can choose the disign of each cursor.In your case choose no line, no point and don't show name.
To display a vertical line on your graph programmaticaly, use graph property node (see help to use property node). With this, you can acces all the cursors properties, and so, you can change the design...to see it on your graph.
Tell me if you have still any problem
Nico