Solved

Monitoring Graph

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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Diagnostics with Net and Net.Sockets 2 28
Signal R -send data to client: only if they are allowed to see it ? 1 51
Finally almost got it 5 36
InputLanguage 1 26
Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.
Established in 1997, Technology Architects has become one of the most reputable technology solutions companies in the country. TA have been providing businesses with cost effective state-of-the-art solutions and unparalleled service that is designed…

770 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