 antadam
		
			antadam
		
		
		
		
		
		
		
		
	
			05-15-2006 10:31 AM
			
    
	
		
		
		05-16-2006
	
		
		10:06 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		07-10-2025
	
		
		12:51 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Content Cleaner
		
			Content Cleaner
		
		
		
		
		
		
		
		
	
			
		
Hi antadam,
Currently that functionality isn't directly implemented into the CNiGraph graph object like the LabVIEW graph object. In this case you would need to write you own zooming code. For Visual C++ 6.0, there are several TrackModes associated with the CNiGraph graph class. Open the help for this topic by browsing to Start >> Programs >> National Instruments >> Measurement Studio >> Help >> Measurement Studio Reference and then searching for TrackModes under the Index tab. You will see there are several zoom options available. Also with the 7.1 version of this graph control, there is a zoom event that you can use that is fired as when CNiGraph is finished zooming. From that state you could get the maximum and minimum values for axes. You may also want to check out the Simple Graph and Axes examples located in the <MeasurementStudio>\VC\Examples\Ui\Graph folder.
Hope this helps
!