Page 1 of 1

Setting Chart Title in Code

Posted: Wed Mar 28, 2007 8:59 pm
by 9532498
How do I set the Chart Title within the code. I'm using TeeChart Pro v7, ActiveX.

I tried
pChart->GetHeader().GetText().....

but got stuck after that. There is an "Add" method in CStrings but requires a parameter of type "VARIANT"... Can you please give me an example of setting the Chart title?

Thanks.

Posted: Thu Mar 29, 2007 9:09 am
by narcis