Add Graph Dialog Box

See Also   Tasks

Use the Add Graph dialog box to add line graphs representing Microsoft® Windows NT® Performance Monitor counters to a Visual Studio Analyzer Chart view. Adding line graphs to the Chart view shows you environment activity, such as CPU usage, along with Visual Studio Analyzer events.

The Add Graph dialog box constructs a filter that it uses to draw the line graph on the Chart view. This filter specifies the machine, component, and Performance Monitor event of interest.

Although the Add Graph dialog box appears very similar to the Filter Editor dialog box, the Add Graph dialog box is different in the following ways:

Options

Categories/Events

Specifies the available Performance Monitor events, organized by category. Click the plus sign next to a subcategory to display a list of events in that category. You can select only one Performance Monitor event at a time. If you want to look at more than one Performance Monitor event, you need to add a line graph for each one.

Components

Specifies the components of interest. You can select only one component at a time. If you want to look at more than one component, you need to add a line graph for each one.

Edit Text

Displays the filter in an edit box where you can type the expression representing the filter.

Warning   Some filters, although you can type them in yourself, cannot be shown using the Filter Editor user interface. An example of these filters is an expression that uses inequality operators, such as <>. When you click Edit Text, a message appears that warns you about this. Click OK to confirm that you want to edit the filter text. Also, although you can enter any filter you want using Edit Text, it is possible that such a filter will not be suitable for graphing.

Machines/Processes

Specifies the machines of interest.