Solved

Monitoring Graph

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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
Delivering innovative fully-managed cloud services for mission-critical applications requires expertise in multiple areas plus vision and commitment. Meet a few of the people behind the quality services of Concerto.

929 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

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now