Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I hide the axis but show the grid lines in CNiGraph?

I'm trying to create an oscilloscope like view for real time display of multichannel data. Each channel is supposed to be presented in it's own graph. All graphs are vertically stacked in one column.
How can I turn in the gridlines to give me ten divisions while having the axis hidden?
When I hide the axis the gridlines are hidden as well. Furthermore, I cannot seem to get the coordinates for the plot area so that I can draw the grids myself.

The view I'm trying to create will look similar to the NI BioBench acquisition software which can be seen at: http://sine.ni.com/apps/we/nioc.vp?cid=10435〈=US

Thanks,
Johnny Sundblom
0 Kudos
Message 1 of 2
(2,857 Views)
Try this:


  1. Bring up the property pages for the graph and go to the Ticks tab.

  2. Check the Major and Minor boxes in the Grid Lines section.

  3. Make sure that all check boxes in the Tick Marks section are unchecked.

  4. Make sure that all check boxes in the Labels section are unchecked.

  5. Make sure that the Axis Caption is cleared.



I think this will do what you want.

- Elton
0 Kudos
Message 2 of 2
(2,857 Views)