Page 1 of 1

how can I use array as datasource?

Posted: Thu May 11, 2006 8:43 am
by 9526928
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)

Posted: Thu May 11, 2006 9:52 am
by narcis
Hi gong,

Please see the example at All Features\Welcome!\Speed in TeeChart's features demo. Most of those examples populate series using arrays.