I want to copy the data from series1 to series2 in code, and thought I could do this with copy function, but can't seem to get the syntax.
I was expecting something like this, but Tcopyteefunction does not seem to work
with series1 do
begin
DataSource:=series2;
SetFunction(TCopyTeeFunction.Create(self));
CheckDatasource;
end;
thanks
Sean
creating copy function in code
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi Sean,
It's much easier, you don't need to define any function, just set a series as a datasource for the other:
It's much easier, you don't need to define any function, just set a series as a datasource for the other:
Code: Select all
With Series1.DataSources do
begin
Clear;
Add( Series2 );
end;
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Newbie
- Posts: 48
- Joined: Fri Mar 12, 2004 5:00 am