Measurement Studio for VC++

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I resize the graph frame, plot area, etc. on a CWGraph control?

I'm doing an XY-scatter plot, and points along the X and Y axes hang over the edge of the plot area, sometimes covering up the value labels (we use rather large point sizes). Is there a way to resize the graph frame, plot area, or axis areas so that I can avoid this problem?
0 Kudos
Message 1 of 3
(2,824 Views)
In your case, it would be better to increase the size of the whole graph. It is not very simple to do so in VC++, but there is an example program that shows how to accomplish that:

http://zone.ni.com/devzone/devzoneweb.nsf/opendoc?openagent&0138AA28F42632168625698C0053AB1E&cat=43702593E95C5CAD8625688D005DA06F

Mika Fukuchi
Application Engineer
National Instruments
0 Kudos
Message 2 of 3
(2,824 Views)
Thanks for your help. However, I'm actually programming in C#, so the example doesn't translate very well. I ended up just manually setting the Axes Min and Max with a buffer on the edges.

Natalie
0 Kudos
Message 3 of 3
(2,824 Views)