PDA

Click to See Complete Forum and Search --> : How to create line , bars graphics using Visual Basic???


chiodo
Aug 17th, 2000, 06:35 AM
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 al_chiodo@hotmail.com

Thanks to all

Aug 17th, 2000, 09:16 AM
Use the Line method:

Me.DrawWidth = 5
Line (0, 0)-(Me.ScaleWidth, Me.ScaleHeight)

HarryW
Aug 20th, 2000, 12:57 PM
Or use the MS Chart control to add charts to your forms.

Mad Compie
Aug 24th, 2000, 01:25 PM
For a bar graph, don't forget the "BF"

Box Filled
Use the Form's FillColor and FillStyle properties to accomplish this.


Me.Line (x1,y1)-(x2,y2),&H0&,BF

BillSoo
Aug 24th, 2000, 04:33 PM
Check out
http://vbsquare.com/articles/graph/
for an example of how to create your own graph control.