Hi,
With D7 and TeeChart V7.04 Pro Vcl
Step 1
When the user add function manually by editor
and affect the series source>> result Ok on Display.
Step 2
In my code, i store Chart in Stream >> ok
Step 3
I restore Stream To Chart, i retreive all series + function >> Ok
but the series function as no datasource setting ??
i try control by code, but no result ??
//----Autorise le recalcul des Fonctions
for i:=0 to Chart1.SeriesCount - 1 do
if Assigned(Chart1.Series.FunctionType) then begin
Chart1.Series.CheckDataSource;
Chart1.Series.FunctionType.EndUpdate;
Chart1.Series.FunctionType.ReCalculate;
end;
Who take for Save and Restore function if this is create by end user ??
Save and Restore datasource Function
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MD,
Importing and exporting a chart should keep functions datasources and you shouldn't do anything special, just load the stored chart.
Can you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
Importing and exporting a chart should keep functions datasources and you shouldn't do anything special, just load the stored chart.
Can you please send us an example we can run "as-is" to reproduce the problem here? You can post your files at [url]news://www.steema.net/steema.public.attachments[/url] newsgroup.
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 |
Ok hummmmm
if i understand this respond,
I code myself the store and restaure Function datasource.
in fact i have already coding this solution and the result it is Ok.
Thank.
I code myself the store and restaure Function datasource.
in fact i have already coding this solution and the result it is Ok.
Thank.
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi MD,
No, I meant that you shouldn't do any additional coding. I did a test here exporting a chart with a series having a function as datasource and when I imported it, function series worked fine.
No, I meant that you shouldn't do any additional coding. I did a test here exporting a chart with a series having a function as datasource and when I imported it, function series worked fine.
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 |