Page 1 of 1

TChart7 & BCB 5

Posted: Sun Oct 12, 2008 12:05 pm
by 9231184
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

Posted: Mon Oct 13, 2008 11:43 am
by narcis
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.

Posted: Mon Oct 13, 2008 12:38 pm
by 9231184
Thanks for replying so quickly.

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

Thanks again

Nick

Posted: Mon Oct 13, 2008 1:10 pm
by narcis
Hi Nick,

You're welcome. I'm glad to hear you solved your problem.