BCB6 and TeeChart Pro 7

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
nitin
Newbie
Newbie
Posts: 51
Joined: Thu Aug 22, 2002 4:00 am

BCB6 and TeeChart Pro 7

Post by nitin » Tue May 01, 2007 5:56 pm

I am using BCB 6 and just acquired TeeChart Pro 7. I am new to both. I am trying to follow the tutorial as given in "Tutorial 1 - Getting started" of "Welcome to TeeChart Pro tutorials":

In "Coding data input with TChart", it says: " ... Select a Command button from the Component palette and place it on your Form. Double-click on the button to access the code editor. I do not know which Component
Palette in considered. Then, it continues:

"In the code Editor type these lines:

With Series1 do
begin
Add (3, 'Pears', clRed);
Add (4, 'Apples', clBlue);
Add (2, 'Oranges', clGreen);
end;"

I am using BCB6 and these lines are in Pascal code.

Thanks.
Jamel

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

Post by Narcís » Wed May 02, 2007 12:05 pm

Hi Jamel,

To familiarize yourself with the IDE I strongly recommend you to have a look at the 30 Camtasia Demos in 30 Days Nick Hodges arranged. Nick Hodges is Delphi's product manager and those videos are made for Turbo Delphi 2006 but several concepts should also apply to BCB 6 or BCB 2006.

Regarding the code you posted, its BCB 6 version would be this:

Code: Select all

        Series1->Add (3, "Pears", clRed);
        Series1->Add (4, "Apples", clBlue);
        Series1->Add (2, "Oranges", clGreen);
Please also notice that a BCB demo with examples of most of TeeChart features is provided with the binary installers available at the client download area. The demo is NOT included with the source code installer. So I recommend you to install the binary installer for your IDE to obtain documentation and examples.
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