How to dynamically update chart data (a "Performance Monitor" application)
This example describes how to create a "Performance Monitor" application with the help of our ChartControl. The key principals of this real-life application include:
- the SystemPerformanceCounters class that encapsulates the logic for all performance counters within the operating system;
- the appropriate adjustment of the ChartControl instance that dynamically accepts current values of selected performance counters within a particular performance category.
For more information about performance counters, please refer to thePerformance Counters in the .NET Framework in VS help collection.