Article ID: 194221
Article Last Modified on 7/13/2004
Private Sub Form_Load()
Dim Graph(1 To 10, 1 To 2) As Single
Dim x As Integer
For x = 1 To 10
Graph(x, 1) = x ' value for X-axis
Graph(x, 2) = x * 10 ' value for Y-axis
Next x
MSChart1.chartType = VtChChartType2dXY ' set to X Y Scatter chart
MSChart1 = Graph ' populate chart's data grid using Graph array
' Leave the following line commented until step 6:
'MSChart1.Plot.UniformAxis = False
End Sub
Additional query words: graph appearance height width mschart.ocx kbVBp kbVBp500 kbVBp600 kbCtrl kbdsd kbDSupport
Keywords: kbhowto KB194221