Click here to Skip to main content
15,882,329 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I need to draw a graph in a Windows application using C#.
Input of the graph are date and time.
please.......very urgent,
Updated 12-Apr-10 2:32am

'Gimme code' questions aren't welcome here.
Moreover, in order to draw a graph (assuming a bidimensional one) you need a sequence of points ({x,y} coordinate pairs), I can't see suitable pairs in 'date and time'.
Share this answer
Try here: C# Chart[^]
Share this answer
Hi, you have some choices:
1-use GDI or GDI+ to draw a graph base on shapes, lines, points and etc (it's ok but for very simple situations) for more performance you can make a custom control with your desired properties based on GDI.
2-the most simple way is to use a prepared control (i.e C# Charts or any free controls)
3-the professional way of course is OpenGl (use Tao Framework) you can use it directly in forms or make a custom control for future needs
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900