ulrich.kun1
Germany
9 Posts |
Posted - 08/18/2003 : 09:03:32 AM
|
Hey Ales,
try the following:
GraphPage gp; gp.Create(NULL,CREATE_VISIBLE); gp.Rename("Graph1"); GraphLayer lay("Graph1");
Worksheet wkstest("Data1"); Curve cc(wkstest, 1); Curve cc2(wkstest, 2);
int nIndex = lay.AddPlot(cc, IDM_PLOT_LINE); nIndex = lay.AddPlot(cc2, IDM_PLOT_LINE); lay.Rescale();
// cc2.Destroy(); inserting this line will delete the second Curve just after plotting it. Works similar than Detach();
Bye Thommy |
 |
|