LoadChartFromFile results in Exceptions

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
dwolver
Newbie
Newbie
Posts: 1
Joined: Fri May 02, 2003 4:00 am
Location: edmonton
Contact:

LoadChartFromFile results in Exceptions

Post by dwolver » Wed Jan 05, 2005 2:14 pm

Using teechart pro ver 6.01
I place a chart on a form, set up a couple of series and add two buttons.
Button1 calls SaveChartToFile
Button2 Calls LoadChartFromFile
I do not add any data to the chart or modify any default properties.
I press Button1 and then press Button2. During LoadChartFromFile I get EClassNotFound with message 'Class TFastLineSeries not found'

This is a replication of the problem I'm seeing in my main form
Never ran into this prior to converting from D5 to D7 AFAIK

ungos
Newbie
Newbie
Posts: 12
Joined: Mon Oct 04, 2004 4:00 am
Location: Czech Republic
Contact:

Post by ungos » Wed Jan 05, 2005 7:48 pm

I had the same problem with TeechartPro 7 under Delphi 5 and 7. I discovered that unit TeeEdit must be included in uses clause, otherwise runtime error "Class XXXseries not found" appears during LoadChartFromStream if Chart consists series (with or without data). But I have no explanation for it.

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

Post by Narcís » Fri Jan 07, 2005 8:56 am

Hi,

This problem is because after importing the series type is not recognised. Inlcuding TeeEditPro solves this problem as it runs RegisterTeeSeries(...).
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