Adding and Removing Line Graphs in the Chart View

See Also

You can overlay Performance Monitor information (from Microsoft® Windows NT™) or custom dynamic events you have created yourself on the Gantt chart in the Chart view. Overlaying this information makes it easier to spot correlations between your application activity and your system's overall health. Performance Monitor information is shown as a line graph. In order to overlay Performance Monitor information, you must have collected data from one or more Performance Monitor counters during a previous run of your application. To collect data from a Performance Monitor counter, you specify the counters in which you are interested in your Visual Studio Analyzer filter; counters are listed under "Measured Events."

To add a line graph

  1. In the Project Explorer, right-click an event log that contains Performance Monitor data.

  2. Click Chart to display the Chart view.

  3. Click Analyzer, then click Add Graph. The Add Graph dialog box appears.

  4. Select the machine and components reflected in the event log, and then select one of the Performance Monitor counters from which you collected data. Click OK.

To remove a line graph

  1. Select the line graph you want to remove.

  2. Right-click on the legend to display the shortcut menu, and then click Remove Graph.