Tnanks Palle, it works!


2003-07-31 05:10:10 AM
cppbuilder24
"Palle Meinert" < XXXX@XXXXX.COM >wrote in message
Quote
Change it to

Series1->Add (15, 'NYC', clBlue );

Palle
"Kevin" < XXXX@XXXXX.COM >wrote in message
news:3f28006e$ XXXX@XXXXX.COM ...
>Hello, everyone:
>I am trying to use the TChart under Tools/Additional. I create
a
>data line series called series1 and wrote code as follows:
>
>Series1.Add (15, 'NYC', clBlue );
>
>This is exactly the same code in the BCB help. But I got a error
message:
>"structure required on left side of . or .*."
>It seems I need to define some sort of struct in order to use Add
method.
>
>Any suggestion is appreciated!
>
>Thanks!
>
>Kevin
>
>