Setting Chart Title in Code

TeeChart for ActiveX, COM and ASP
Post Reply
nbp
Newbie
Newbie
Posts: 83
Joined: Mon Sep 18, 2006 12:00 am

Setting Chart Title in Code

Post by nbp » Wed Mar 28, 2007 8:59 pm

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.

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

Post by Narcís » Thu Mar 29, 2007 9:09 am

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