06-19-2007 10:01 PM
Hello everyone
I'll be pleased if some of you would help me.
I’m writing an application where I would like to pass ChartY from Form1 to Form2 after I taking data.
With
Form2.Graph2.ChartY=Form1.Graph1.ChartY
it doesn’t work .
Help
Thanks in advance
06-20-2007 01:57 PM
Hi pawlik,
The problem you are running into is that ChartY is a function so you cannot assign a function to another function. If you already have data on a graph, you should use the Graph.YData property. I believe this will work for you:
Form2.Graph2.YData = Form1.Graph1.YData
Regards,
Matt M
NI