From: Henrique on
Hi!

I�m new in VB.Net
Im try to populate Chart1 in VB.net with this code:


Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click

Dim ArrayVal(10, 10) As Integer

For X1 As Integer = 0 To 5
For X2 As Integer = 0 To 5

ArrayVal(X1, X2) = 10 * Rnd()
Next

Next

Chart1.DataSource = ArrayVal

End Sub



but nathing apear in the Chart 1.
What is wrong in this code?


Thanks for de help


H.s