Page 1 of 1

TChart problems...

Posted: Wed Dec 12, 2007 8:56 pm
by 10047071
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

Posted: Thu Dec 13, 2007 12:47 pm
by 10047071
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 :-)