Re: How to use TDBChart
Posted: Wed Jan 16, 2008 3:14 am
Hi,
I am user of TeeChartPro v7 in BDS2006.
But I am currently working on C++Builder6, which has only two built-in componments TChart and TDBChart. I want use TDBChart to display data in Access database, this is my 1st time to do such job. My questions are
(1) Is TDBChart componment enough to support a simply function such as display data in Access database ?
(2) Is there any example or tutorial to point where the entry door is ?
(3) I am trying to compile TeeChartPro v7.08 in C++Builder2006, and the compiler results 3 errors(see below):
the project Tee7New.bcbprj is under
C:\Program Files\Steema Software\TeeChart 7.08 for Delphi 2006\Examples\Features C++
The compiling errors are:
[C++ Error] Main.cpp(280): E2015 Ambiguity between '_fastcall Tecanvas::TTeeCanvas::TextWidth(const System::AnsiString)' and '_fastcall Tecanvas::TTeeCanvas::TextWidth(const System::WideString)'
Full parser context
Main.cpp(259): parsing: void _fastcall TTee7Form::Draw3D1AfterDraw(System::TObject *)
[C++ Error] Main.cpp(334): E2288 Pointer to structure required on left side of -> or ->*
Full parser context
Main.cpp(331): parsing: bool _fastcall FindItem(TTreeView *,AnsiString)
[C++ Error] Main.cpp(564): E2085 Invalid pointer addition
Full parser context
Main.cpp(559): parsing: void _fastcall TTee7Form::BSupportClick(TObject *)
Thanks and Kind regards
Daniel
I am user of TeeChartPro v7 in BDS2006.
But I am currently working on C++Builder6, which has only two built-in componments TChart and TDBChart. I want use TDBChart to display data in Access database, this is my 1st time to do such job. My questions are
(1) Is TDBChart componment enough to support a simply function such as display data in Access database ?
(2) Is there any example or tutorial to point where the entry door is ?
(3) I am trying to compile TeeChartPro v7.08 in C++Builder2006, and the compiler results 3 errors(see below):
the project Tee7New.bcbprj is under
C:\Program Files\Steema Software\TeeChart 7.08 for Delphi 2006\Examples\Features C++
The compiling errors are:
[C++ Error] Main.cpp(280): E2015 Ambiguity between '_fastcall Tecanvas::TTeeCanvas::TextWidth(const System::AnsiString)' and '_fastcall Tecanvas::TTeeCanvas::TextWidth(const System::WideString)'
Full parser context
Main.cpp(259): parsing: void _fastcall TTee7Form::Draw3D1AfterDraw(System::TObject *)
[C++ Error] Main.cpp(334): E2288 Pointer to structure required on left side of -> or ->*
Full parser context
Main.cpp(331): parsing: bool _fastcall FindItem(TTreeView *,AnsiString)
[C++ Error] Main.cpp(564): E2085 Invalid pointer addition
Full parser context
Main.cpp(559): parsing: void _fastcall TTee7Form::BSupportClick(TObject *)
Thanks and Kind regards
Daniel