Multiple graph instances programatically

TeeChart for ActiveX, COM and ASP
Post Reply
Yacu
Newbie
Newbie
Posts: 31
Joined: Tue Dec 23, 2008 12:00 am

Multiple graph instances programatically

Post by Yacu » Tue Apr 28, 2009 11:08 am

I need to create programatically multiple instances of a chart which I will use as a template. I want each graph zoomed and edited individually. The graphs should scroll so that I can see the whole set.

Could you provide an example in VB6 which I can follow in order to acheive this or something similar?

Thanks for your reply

Yacu
Newbie
Newbie
Posts: 31
Joined: Tue Dec 23, 2008 12:00 am

Post by Yacu » Tue Apr 28, 2009 2:47 pm

I'm afraid you made a mistake and answered another question

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Tue Apr 28, 2009 2:50 pm

Hi Yacu,

Yep, sorry, I've just corrected it. I'm investigating your issue right now and I'll answer you as soon as possible.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Post by Yeray » Wed Apr 29, 2009 10:13 am

Hi Yacu,

You should be able to create a chart at runtime like this:

Code: Select all

Dim chartObj As New TeeChart.TChart
And then you should be able to create series or what you want, normally:

Code: Select all

chartObj.AddSeries scHorizBar
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply