Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Charts

Status
Not open for further replies.

rzrdigo

Programmer
Jan 7, 2011
19
BR
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
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top