Page 1 of 1

Trouble with LoadChartFromFile

Posted: Sat May 31, 2008 4:20 pm
by 4213671
I am using TeeChart v5.03 in Borland C++ Builder v6 and cannot successfully save and load a vertical bar chart at runtime.

I include TeeSource.hpp, and the SaveChartToFile seems to complete alright (although I am not using a .tee extension), but when I try to load the chart I get an error that says that the Class TBarSeries not found.

I have set the IncludeData param to TRUE and would really like to load the entire bar chart.

Does this routine work correctly in v5.03 of TeeChart

Thanks in advance.

Posted: Mon Jun 02, 2008 7:51 am
by narcis
Hi ludovico,

Your problem is likely to be the same as described here.

Posted: Mon Jun 02, 2008 5:23 pm
by 9047589
I'm afraid ludovico has TeeChart Standard and TeeEditPro is not available to him. He may need use RegisterClass(TBarSeries) call.

Posted: Mon Jun 02, 2008 6:42 pm
by narcis
Hi Alexander,

No, it doesn't exist a Standard version of TeeChart v5 VCL, only a Pro version exists. Standard versions are the ones shipped with Borland/CodeGear products. Also a retail version was made starting at TeeChart v7 VCL. Until BDS 2006 all Delphi and C++ Builder versions included TeeChart v4 Standard.