|
-
Aug 17th, 2000, 06:35 AM
#1
Thread Starter
New Member
Hello Visual Basic Developers,
I would like to know how to create graphics (line and bar), with Visual Basic. I want to avoid the Microsoft Excell to do it.
Does exist some control or tool kit to create them???
Somebody , please... help me...
Please send your aswers to [email protected]
Thanks to all
-
Aug 17th, 2000, 09:16 AM
#2
Use the Line method:
Code:
Me.DrawWidth = 5
Line (0, 0)-(Me.ScaleWidth, Me.ScaleHeight)
-
Aug 20th, 2000, 12:57 PM
#3
Frenzied Member
Or use the MS Chart control to add charts to your forms.
Harry.
"From one thing, know ten thousand things."
-
Aug 24th, 2000, 01:25 PM
#4
Fanatic Member
For a bar graph, don't forget the "BF"
Box Filled
Use the Form's FillColor and FillStyle properties to accomplish this.
Code:
Me.Line (x1,y1)-(x2,y2),&H0&,BF
-
Aug 24th, 2000, 04:33 PM
#5
New Member
Check out
http://vbsquare.com/articles/graph/
for an example of how to create your own graph control.
"I have a plan so cunning you could pin a tail on it and call it a weasel!" - Edmund Blackadder
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
|