Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Monitoring Graph

Posted on 2006-07-10
4
270 Views
Last Modified: 2010-04-16
Hi, I am a binnger at C# in Windows Applications, just looking for a point in the right direction.

When you go to Task Manager, and click performance, the graph there is what I am trying to accomplish.

How is that done, is it an image drawn, and updated every half a second, or something else. Any good tutorials out there for creating such a thing in C#?

Thanks in advance

Andrew
0
Comment
Question by:REA_ANDREW
  • 3
4 Comments
 
LVL 9

Expert Comment

by:WinterMuteUK
ID: 17071993
Hullo,
I personally use a 'graph' drawing control : zedgraph: http://zedgraph.org/wiki/index.php?title=Main_Page
and, yes - using a timer update my graph every 'n' milliseconds.

Cheers,
Wint
0
 
LVL 20

Author Comment

by:REA_ANDREW
ID: 17072005
I am wanting to do everything from scratch, as I am doing this for personal gain, not monetary. So tutorials on this topic would be helpful,

Thanks

Andrew
0
 
LVL 9

Accepted Solution

by:
WinterMuteUK earned 500 total points
ID: 17072988
CodeProject is always a good place to start when looking for examples:

  http://www.codeproject.com/cs/miscctrl/graphcontrol.asp
  http://www.codeproject.com/cs/miscctrl/wdigraph.asp

I think the top link is probably the most useful, but the second one will help once the first has satiated you :)

Wint.
0
 
LVL 9

Expert Comment

by:WinterMuteUK
ID: 17072993
Oh, and I would start by just drawing the graph first, getting the hang of that before moving on to 'moving' the graph, having said that - once you have the graph drawing done, moving it becomes a doddle! Just a case of changing the values!

Wint.
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Video Player 12 27
What are the simplest ways to create a Merge Sort? 3 29
bound data table problem 2 33
jquery + C#.net radiobuttonlist 3 30
Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
This article aims to explain the working of CircularLogArchiver. This tool was designed to solve the buildup of log file in cases where systems do not support circular logging or where circular logging is not enabled
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question