Hi all,
I am using charts to draw some XY graphs, until here no problem. There is also a report in another window, in which i wish to copy the graph to. I used the following code:
//To plot the graph
int p;
double c[500],b[500];
for(p=0;p<500;p++)
{
c[p]=p;
b[p]=3*p;
FGrafico->Series1->AddXY(c[p],b[p],"",clTeeColor);
}
//To add the graph to the report
QRDBChart3->AddSeries(FGrafico->Series1);
The problem is that instead of copying the graph to the report, it "cuts" the graph from the window and "pastes" it on the report. What i want is the graph to be copied not pasted.
Thanks for the attention.
Digo
I am using charts to draw some XY graphs, until here no problem. There is also a report in another window, in which i wish to copy the graph to. I used the following code:
//To plot the graph
int p;
double c[500],b[500];
for(p=0;p<500;p++)
{
c[p]=p;
b[p]=3*p;
FGrafico->Series1->AddXY(c[p],b[p],"",clTeeColor);
}
//To add the graph to the report
QRDBChart3->AddSeries(FGrafico->Series1);
The problem is that instead of copying the graph to the report, it "cuts" the graph from the window and "pastes" it on the report. What i want is the graph to be copied not pasted.
Thanks for the attention.
Digo