- Home
·
- Graphics
·
- Generating Charts using Microsoft Chart Control
Generating Charts using Microsoft Chart Control
Generating Charts using Microsoft Chart Control
Rate Generating Charts using Microsoft Chart Control
(1(1 Vote))
'Generating Charts:
'Open a standard exe form
'Place a Microsoft Chart Control over the form by selecting from the Component option
'Type the code given below
Private sub Form_Load()
MSChart1.chartType = VtChChartType2dStep
Dim arrPlotData(1 To 10)
Dim j As Integer
For j = 1 To 10
arrPlotData(j) = j
Next j
MSChart1.ChartData = arrPlotData
MSChart1.EditCopy 'Copy the chart into the clipboard
End Sub
'Run the application and see the chart generated. Open a paint brush and Press Ctrl + V to paste the chart.
Generating Charts using Microsoft Chart Control Comments
No comments yet — be the first to post one!
Post a Comment