0

Does anyone know how to bind two arrays (x and y datapoints) to form a line chart using the asp.net chart toolkit?

4

2 回答 2

1

您可以使用以下方式绑定数组:

my_series.Points.DataBindXY(x, y)
于 2015-04-13T12:32:25.940 回答
0

弄清楚了。需要循环数据点并使用:

Chart.Series["ChartName"].Points.AddXY(x[i], y[i])

于 2010-08-23T08:18:44.187 回答