GIDForums  

Go Back   GIDForums > Computer Programming Forums > .NET Forum
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

 
 
Thread Tools Search this Thread Rate Thread
  #1  
Old 18-Jan-2007, 21:20
Irantha Irantha is offline
New Member
 
Join Date: Jan 2007
Posts: 2
Irantha is on a distinguished road
Cool

How to draw Graph!!!!!!


How to draw graph in VB.NET 2005



I need to draw 2D graph using vb.net 2005.



The program should take the X values from the user then calculate the particular Y values using the equation. (Equation stored in the program) Using those X & Y value program should generate the graph.



Can I do this in VB.NET 2005 & how to do it.Pls help me…


Thanx... ,
/////*****Irantha*****\\\\\
  #2  
Old 22-Jan-2007, 03:50
Menol_LK's Avatar
Menol_LK Menol_LK is offline
Junior Member
 
Join Date: Sep 2006
Location: Sri Lanka
Posts: 29
Menol_LK is on a distinguished road

Re: How to draw Graph!!!!!!



Well I have come across this problem once.

what I found after some time in MSDN was the use of a Graphics object

I did this in .net 1.1 (2003)

what I suggest is to create an Graphics type object. then it allowes you to draw anything pixel wise which means you can draw anything in your pane.

I am sorry I dont remember the code at the moment but I can say you that it is not hard.

you can write functions to draw lines automatically according to a formula when the range of X or Y is given

And there are 1000 & 1 third party tools that allows you to get this done easily.

But I recommend the harder way cos' you can get the maximum freedom.

Happy Programming !


-- Menol --
  #3  
Old 09-Feb-2007, 05:54
ajitham's Avatar
ajitham ajitham is offline
New Member
 
Join Date: May 2005
Location: Kuala Lumpur
Posts: 17
ajitham is on a distinguished road

Re: How to draw Graph!!!!!!


Hi,
Currently i'm working on this kind of features in my application. We've used a third party tool called as "Dundas Software".
This tool provides the downloadable feature of its component. It also gives the free sample codes and the manual about how to use this software.
Using this we can draw a different varities of charts of different kinds not only 2D.
Just try this out. Its really good.
  #4  
Old 10-Feb-2007, 09:37
Irantha Irantha is offline
New Member
 
Join Date: Jan 2007
Posts: 2
Irantha is on a distinguished road
Smile

Re: How to draw Graph!!!!!!


Thanx Pal.

/////*****Irantha*****\\\\\
 
 

Recent GIDBlogInstall Adobe Flash - Without Administrator Rights by LocalTech

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Help with graph application linkin C++ Forum 0 28-Oct-2005 02:42
how to get Call graph for applications, anybody knows bravetanveer C Programming Language 1 30-Sep-2005 00:27
[c++]adding cpuid and graph output to my benchmark program chorijan C++ Forum 1 07-Sep-2005 12:44
Problem with draw lines using MFC puzz MS Visual C++ / MFC Forum 3 26-Apr-2005 21:15
calling abstract base class method calls draw instead achoo FLTK Forum 1 19-Dec-2004 10:38

Network Sites: GIDNetwork · GIDWebHosts · GIDSearch · Learning Journal by J de Silva, The

All times are GMT -6. The time now is 08:01.


vBulletin, Copyright © 2000 - 2010, Jelsoft Enterprises Ltd.