Hi elemis
You need to have a look at the OnPaint method - here's an example in VB.NET
that draws a diagonal line.
Protected Overrides Sub OnPaint(ByVal e As
System.Windows.Forms.PaintEventArgs)
e.Graphics.DrawLine(Pens.Black, 100, 100, 200, 200)
End Sub
But you would probably be better off buying a graphing control, or
developing your own rather than putting all your graphing code into the Form
Paint...
HTH
Nigel Armstrong
"elemis" wrote:
Hi, do we have pixels that we can set in order to plot an x-y graph
on a form ?