Solved

Monitoring Graph

Posted on 2006-07-10
4
271 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Object Oriented Programming, C#, referencing, scoping. 13 85
C# LINQ ForEach() question 6 77
Why use this lambda? 12 60
How to force output to ascii 2 32
Article by: Najam
Having new technologies does not mean they will completely replace old components.  Recently I had to create WCF that will be called by VB6 component.  Here I will describe what steps one should follow while doing so, please feel free to post any qu…
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

735 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