11-07-2005 05:05 PM
11-08-2005 09:35 AM
Hi superryan007,
What type of graph are you using to create your XY graph? Is it the CWGraph, ScatterGraph, WaveformGraph? Each has different properties for setting background images and this information would be helpful. Thanks
Best Regards,
11-08-2005 11:48 AM
11-08-2005 02:00 PM
Hi superryan007,
All of the properties and methods available for CWGraph, ScatterGraphs, and WaveformGraphs can be found in the NI Measurement Studio Help. Browse to Start >> All Programs >> National Instruments >> Measurement Studio 7.1 for VS .NET 2003 >> Measurement Studio Documentation. Then select the Index tab and type in scatter graph and choose ScatterGraph Members. All of these properties and methods are available for CWGraph as well. If you scroll down the list, you will see a Background Image property. You can either set or get the background image of the graph.
This background image property sets or gets the image to display in the background of the control. Below is the syntax I copied from the Help.
public: __property virtual Image* get_BackgroundImage();
public: __property virtual void set_BackgroundImage(Image*);
Also, there is a bunch more properties you can mess around with. For example, say your graph is called axCWGraph1. Then you could say axCWGraph1->get_BackgroundImage(Image variable name).
Hope this helps!
Best Regards,
11-08-2005 07:44 PM