|
-
Oct 16th, 2019, 09:40 PM
#5
New Member
Re: how to draw graph in VB
 Originally Posted by jess
kokopeli or anyone who knows:
- what kind of object are you using "Graph1" is it MSChart? - How do I get hold of the object, so I can use it within VB6?
- Can I use that object when I'm creating my own activeX object?
Hi.
Graph1 came from the library GraphLib (see the example).
Object = "{F9043C88-F6F2-101A-A3C9-08002B2F49FB}#1.2#0"; "ComDlg32.OCX"
Object = "{0842D103-1E19-101B-9AAF-1A1626551E7C}#1.0#0"; "graph32.ocx"
Object = "{0BA686C6-F7D3-101A-993E-0000C0EF6F5E}#1.0#0"; "threed32.ocx"
Object = "{0ECD9B60-23AA-11D0-B351-00A0C9055D8E}#6.0#0"; "MShflxgd.ocx"
Begin GraphLib.Graph GRAPH1
Height = 5895
Left = 240
TabIndex = 10
Top = 120
Width = 6015
_Version = 65536
_ExtentX = 10610
_ExtentY = 10398
_StockProps = 96
BorderStyle = 1
BottomTitle = "Frequency MHz"
GraphStyle = 4
GraphType = 6
GridStyle = 3
IndexStyle = 1
LeftTitle = "System Return Loss dB"
LegendStyle = 1
RandomData = 0
ThickLines = 0
YAxisMax = -20
YAxisMin = -40
YAxisStyle = 2
ColorData = 0
ExtraData = 0
ExtraData[] = 0
FontFamily = 4
FontSize = 4
FontSize[0] = 200
FontSize[1] = 150
FontSize[2] = 100
FontSize[3] = 100
FontStyle = 4
GraphData = 1
GraphData[] = 5
GraphData[0,0] = 0
GraphData[0,1] = 0
GraphData[0,2] = 0
GraphData[0,3] = 0
GraphData[0,4] = 0
LabelText = 0
LegendText = 0
PatternData = 1
PatternData[0] = 5
SymbolData = 3
SymbolData[1] = 3
SymbolData[2] = 1
XPosData = 0
XPosData[] = 0
End
PS. I have used this 4 object too. Actually not every object is mandatory.
ComDlg32.OCX, graph32.ocx, threed32.ocx, MShflxgd.ocx;
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|