函数图像绘制
怎么用series绘制正弦的函数图像啊,请大神指教
vb6.0的
A = Val(Text1.Text) W = Val(Text2.Text) B = Val(Text3.Text) C = Val(Text4.Text) For i = 0 To 50 Step 1 x(i) = i y(i) = A * Sin(W * x(i) + B) + C Next With AxTChart1.series(0).Clear() For i = 0 To 50 Step 1 .series(0).Add(y(i), x(i), 0) Next End With End If End Sub最后series语句错误是怎么回事