how can I use array as datasource?
Posted: 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)
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)