TChart problems...

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
Tango42
Newbie
Newbie
Posts: 8
Joined: Thu Oct 18, 2007 12:00 am

TChart problems...

Post by Tango42 » Wed Dec 12, 2007 8:56 pm

Hi,

I have resently been assigned to a project created with an older TeeChart. I am to do some modifications in the program, but are having some problems. (I am using BDS 2006, and have installed TeeChart Pro v8.02).

1) I get the following error: '[C++ Error] test.cpp(49): E2316 'Series' is not a member of 'TChartSeriesList' in a line that looks like this:

Chart1->SeriesList->Series[0]->Title = "Prior";

I think this must have worked earlier, because the program has been used for quite some times now.

2 I have tried to remove 'SeriesList' in the line above, and could compile without errors. But now when I run the program, I keep getting exceptions telling me that some properties doesn´t exist. An example is listed below:

Project Test.exe raised exception class EreadError with message 'Error reading Chart1->Border.Visible: Property Border does not exist'.

I think I have installed the packages correctly. Can you maybe give me a hint on what the problem might be. (When I right-click on the chart on the form, I can see it is TeeChart Pro v.802)

\Tango42

Tango42
Newbie
Newbie
Posts: 8
Joined: Thu Oct 18, 2007 12:00 am

Post by Tango42 » Thu Dec 13, 2007 12:47 pm

Hi,

I have found a solution to my problem.

http://qc.borland.com/wc/qcmain.aspx?d=42467

I just made a new project, and insertet my modules from my old project.

I works perfectly now :-)

Post Reply