TChart7 & BCB 5

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
NickH
Newbie
Newbie
Posts: 23
Joined: Mon Mar 08, 2004 5:00 am

TChart7 & BCB 5

Post by NickH » Sun Oct 12, 2008 12:05 pm

I have been trying to install TChart Pro 7.07 into BCB 5.
If I place a TChart component on a form, add a TLineSeries using the Chart Editor, Build and run the program ...

I get the error ...
"Error reading Series1->Marks.Callout.Brush.Color: Property does not exist"

I have re-installed BCB 5 with update 1 and no other components and still get the same problem.

If I create a TLineSeries dynamically ie ...
TLineSeries* Line = new TLineSeries(NULL);
Chart1->AddSeries(Line);
Line->Add(1,"AAA",clRed);

I get an access violation in VCL50.bpl.

A large older program ,written with the version of TChart that comes with BCB 5, compiles with TChart 7 but produces strange errors, for example

Chart->RightAxis is NULL.

I have tried TChart 7 with at least 2 different computers but errors each time.

What should I do

Thanking you in advance

Nick

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

Post by Narcís » Mon Oct 13, 2008 11:43 am

Hi Nick,
I get the error ...
"Error reading Series1->Marks.Callout.Brush.Color: Property does not exist"

I have re-installed BCB 5 with update 1 and no other components and still get the same problem.
This is most likely that your BCB 5 is still referencing old TeeChart packages. A solution to this issue was discussed here.
If I create a TLineSeries dynamically ie ...
TLineSeries* Line = new TLineSeries(NULL);
Chart1->AddSeries(Line);
Line->Add(1,"AAA",clRed);

I get an access violation in VCL50.bpl.
This works fine for me here. If problem persists please send us a simple example project we can run "as-is" to reproduce the problem here. You can either post your files at news://www.steema.net/steema.public.attachments newsgroup or at our upload page.
A large older program ,written with the version of TChart that comes with BCB 5, compiles with TChart 7 but produces strange errors, for example

Chart->RightAxis is NULL.
Try using Chart1->Axes->Right instead.
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

NickH
Newbie
Newbie
Posts: 23
Joined: Mon Mar 08, 2004 5:00 am

Post by NickH » Mon Oct 13, 2008 12:38 pm

Thanks for replying so quickly.

You are right, I discovered today that the program was referencing the old TeeChart.

Thanks again

Nick

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

Post by Narcís » Mon Oct 13, 2008 1:10 pm

Hi Nick,

You're welcome. I'm glad to hear you solved your problem.
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