03-03-2005 11:47 AM
03-03-2005 12:06 PM
03-03-2005 12:31 PM
03-28-2005 04:52 PM
@Abhishek Ghuwalewala wrote:
I am not exactly sure what it is you are trying to accomplish. If you would like to copy the data from one graph to another existing graph that has a plot object in it, you can use the GetXData and GetYData method of the ScatterPlot to copy the data. If you are trying to make a copy of the ScatterPlot object, then you can use the Clone method on the ScatterPlot to clone the plot object. You can also use clone to make copies of the axis, cursor, and annotation objects on your ScatterGraph. Cloning is not supported on the ScatterGraph, so there is no direct way to copy the graph object along with all its properties and sub-objects (such as the plots, axes, cursors, and annotations). You will have to save the non-default properties of the ScatterGraph you want to copy, create a new ScatterGraph object and manually set the properties on the new graph.