Private Sub cmdDraw_Click()

OK so I tried changing the row to 1, the Column to 1, and both the column and the row to 1. These alkl produced a series of lines. The RandomFill property was already set to false, and I changed the .Data property to the .ChartData property (which was probably the reason for the mismatch error). Do you think it could be the structure of my array? The array I'm using for testing is (1,2,3,4,5,6;2,4,6,8,10,12). Do you know of any good references for MSChart? I've looked at the MSDN Library examples, but they are somewhat thin. I also have the EXPERT GUIDE TO VB6 which is not very helpful either.

Here is the updated code:

Dim arrData(2, 6)
Dim i, j, k As Integer

For i = 1 To 6
arrData(1, i) = txtX(i - 1).Text
arrData(2, i) = txtY(i - 1).Text
Next i
With LinGraph
.Repaint = False
.chartType = VtChChartType2dLine
.ColumnCount = 6
.RowCount = 1
For j = 1 To 6
.ChartData = arrData
Next j
.ColumnLabel = txtLinTrack.Text
.RowLabel = lblLinTag.Caption
.Repaint = True
End With
End Sub