楼主用VC开发的话可以试试NTGraph控件,以前用过,还行
楼主能看懂鸟语的话猛击这里看详细信息:
XXXXXXXXXXXXXXXXXXXXXXXXXX/Articles/3214/2D-Graph-ActiveX-Control ,里面有说可以用VB:
The same story for Visual Basic Users:
With NTGraph1
.PlotAreaColor = vbBlack
.FrameStyle = Frame
.Caption = ""
.XLabel = ""
.YLabel = ""
.ClearGraph 'delete all elements and create a new one
.ElementLineColor = RGB(255, 255, 0)
.AddElement ' Add second elements
.ElementLineColor = vbGreen
For X = 0 To 100
Y = Sin(X / 3.15) * Rnd - 1
.PlotY Y, 0
Y = Cos(X / 3.15) * Rnd + 1
.PlotXY X, Y, 1
.SetRange 0, 100, -3, 3
Next X
End With
在百度文库上找到了个中文版:
NTGRAPH控件使用.docx
1021.49KB
DOCX
22次下载
200字以内,仅用于支线交流,主线讨论请采用回复功能。