Creating a Graph like Performance Monitor in .NET

G

Guest

All of us are familiar with task manager and the "Performance" tab. I want to create that kind of graph in .NET and WinForms. I.e. a line graph that is updatable in real time. It is unclear to me whether this is a GDI+ or DirectX application. Also i can't find examples of anything similar. If anybody has attempted anything like this I would greatly appreciate your suggestions.

Regards
 
J

Justin Rogers

A line graph that updates in real-time is easily accomplished with GDI+. In
general you won't find much on
animation in .NET, but it isn't particularly hard. A simple Timer callback
forcing repaints is going to be
enough to get you started. Once you need performance, you can either come back
to this newsgroup and
ask questions on how to speed up the process, or ask the same questions over at
www.windowsforms.net/Forums.


--
Justin Rogers
DigiTec Web Consultants, LLC.

achalk said:
All of us are familiar with task manager and the "Performance" tab. I want to
create that kind of graph in .NET and WinForms. I.e. a line graph that is
updatable in real time. It is unclear to me whether this is a GDI+ or DirectX
application. Also i can't find examples of anything similar. If anybody has
attempted anything like this I would greatly appreciate your suggestions.
 
H

Herfried K. Wagner [MVP]

* =?Utf-8?B?YWNoYWxr?= said:
All of us are familiar with task manager and the "Performance" tab. I
want to create that kind of graph in .NET and WinForms. I.e. a line
graph that is updatable in real time. It is unclear to me whether this
is a GDI+ or DirectX application. Also i can't find examples of anything
similar. If anybody has attempted anything like this I would greatly
<appreciate your suggestions.

This can be done with GDI+ (just draw some lines ;-).

Maybe one of the charting components included in the VB.NET Res Kit
supports this type of graph:

<http://msdn.microsoft.com/vbasic/vbrkit/default.aspx>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top