10-15-2007 01:50 PM
10-15-2007 05:14 PM
10-15-2007 05:55 PM
10-15-2007 06:04 PM
10-15-2007 06:33 PM
10-16-2007 08:55 AM
Hi Msush,
Based on the earlier posts, I am not too sure of what you are asking. Therefore
I will just make some general statements and then you can reply back based off
of what I say.
So first off, the ScatterGraph can contain multiple plot objects. During
runtime, you will call the ScatterPlotCollection.Add method to add additional plots to the
graph plot collection. Of course you need to have already created a
ScatterPlot object since the Add method takes in a ScatterPlot item. So you
would say something like:
myXYGraph.Plots.Add(myPlot); // where myPlot is the newly created
ScatterPlot object
Then to plot this new plot object, you would simply say something like:
myPlot.PlotXY(data1,
data2);
If you had another plot, you could also say:
anotherPlot.PlotXY(data3,
data4);
If both these plot objects were owned by the same graph object, they would both
appear on the graph.
During design time you can set up your graph to have as many plots as you wish.
To do this, right-click on the graph and select the Edit Plots...
item. Then add and configure plots. Then during runtime, you would
access the plots by saying:
myXYGraph.Plots[plotIndex].xxxx // where plotIndex is
the zero-based index of the plot entry in the collection.
Help any??
Best Regards,
10-16-2007 10:24 AM