how can I use array as datasource?

TeeChart for ActiveX, COM and ASP
Post Reply
gong
Newbie
Newbie
Posts: 14
Joined: Wed May 18, 2005 4:00 am
Location: China
Contact:

how can I use array as datasource?

Post by gong » Thu May 11, 2006 8:43 am

hello,
I add two series in chart as follow. Then I make a array myarray(i,j). The myarray(i,0) is as x-value, the myarray(i,1) is series(0)'s y-value and the myarray(i,2) is series(2)'s y-value.
How can I use myarray(i,j) as datasource? How can I fill the Series?
TChart1.AddSeries(scLine)
TChart1.AddSeries(scLine)

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 May 11, 2006 9:52 am

Hi gong,

Please see the example at All Features\Welcome!\Speed in TeeChart's features demo. Most of those examples populate series using arrays.
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