Series.Datasource "lost" when save and restore to

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
cfh
Newbie
Newbie
Posts: 7
Joined: Fri Sep 21, 2007 12:00 am

Series.Datasource "lost" when save and restore to

Post by cfh » Tue Jun 17, 2008 6:27 am

Hi,

I am using data from a dataset (Memorytable) on my form for the series data.

When restoring the chart from a tee file - the series "looses" the connection with the datasource and is not painted correctly.

If I then manually use the chart editor to associate the series with the datasource - then the series is configured/painted correctly.

Any ideas on how to avoid setting the datasource after restoring the chart from a tee file?

Thanks in advance
Regards
Christian Holm

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Tue Jun 17, 2008 8:05 am

Hi Christian,

Datasources are not saved when importing a chart, you need to manually (either using chart editor or programmatically) restore them after loading the charts.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply