4 Replies - 1991 Views - Last Post: 07 November 2011 - 08:39 PM Rate Topic: -----

#1 aarti.kulkarni   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 24-October 11

Dynamic grpah in windows application uisng vb.net 2.0

Posted 24 October 2011 - 02:53 AM

hi,
I want to draw a dynamic graph in Vb.net 2.0 with windows application.
Following are my requirements,
1.How to show Grid vertical and horizontal grid lines in windows application.
2.How to stretch complete graph control placed on the form as per the resizing of the form.
3.How to draw arc(curve shape) with start and end point with known radius and angle.

Here is the attachement of the sample graph which i need to create in vb.net 2.0.
thanks in advance.
Regard's
Aarti Kulakrni

Is This A Good Question/Topic? 0
  • +

Replies To: Dynamic grpah in windows application uisng vb.net 2.0

#2 Ryano121   User is offline

  • D.I.C Lover
  • member icon

Reputation: 1461
  • View blog
  • Posts: 3,289
  • Joined: 30-January 11

Re: Dynamic grpah in windows application uisng vb.net 2.0

Posted 24 October 2011 - 06:27 AM

What have you tried already?

To draw the grid lines, you should look into the .DrawLine method in the Graphics class.

The draw the curve of the function, your best bet would be to create a GraphicsPath object of very small lines between the corresponding x and y coordinates of the function. You can then use the .DrawPath method, again in the Graphics class, to draw the curve.

To 'stretch' the control, look into control docking and anchoring.

This post has been edited by Ryano121: 24 October 2011 - 06:27 AM

Was This Post Helpful? 1
  • +
  • -

#3 aarti.kulkarni   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 24-October 11

Re: Dynamic grpah in windows application uisng vb.net 2.0

Posted 30 October 2011 - 10:06 PM

Thanks Ryano121.
Was This Post Helpful? 0
  • +
  • -

#4 aarti.kulkarni   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 24-October 11

Re: Dynamic grpah in windows application uisng vb.net 2.0

Posted 30 October 2011 - 10:13 PM

Ryano121,
Thanks for your help.
I tried with "ZedGraph" control.But i am not able to draw the arc using Zedgraph control.
Do you have any idea about "Zedgraph" control?
If yes then please let me know about Arc line in .Net using Zedgraph.
Following are the inputs to draw line,
1. Length.
else
1. Incline Length and Inclination Angle.
To draw arc following are the inputs,
1. Radius and Angle.Can you please give an example with the graphic class as per the above inputs.

Thanks in advance.
Aarti Kulkarni
Was This Post Helpful? 0
  • +
  • -

#5 aarti.kulkarni   User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 4
  • Joined: 24-October 11

Re: Dynamic grpah in windows application uisng vb.net 2.0

Posted 07 November 2011 - 08:39 PM

Hi,
Do you have any soultion?I am wating for soultion.

Thanks & Regard's
Aarti Kulkarni

Attached File(s)


Was This Post Helpful? 0
  • +
  • -

Page 1 of 1