Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Monitoring Graph

Posted on 2006-07-10
4
Medium Priority
?
282 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 2000 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

Question has a verified solution.

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

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…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
this video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

971 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