Working with Graphs

With some queries of an Event-Management Database, TLC presents the query results (i.e. Events, Scanner Events, or Hosts) in a graph. For example, if you create and run a Graph Task, TLC generates a pie chart, line chart, or bar graph to illustrate the query results.

To generate query results consisting of a graph, see:

Working with the Event-Database Viewer

Running a Graph Task

You can use the Graph Toolbar (see Figure 43) and Annotation Toolbar (see Figure 44) to work with a graph. With the Graph Toolbar, you can modify the appearance and format of the graph. With the Annotation Toolbar, you can apply labels, callouts, and other elements to the graph (i.e., annotation elements).

To open the Graph Toolbar, right-click the graph's background and select Toolbars > Toolbar.

To open the Annotation Toolbar, right-click the graph's background and select Toolbars > Annotation Toolbar.

You can also access some of the features available in these toolbars by right-clicking the graph or the graph's background. If you right-click a component of the graph (such as a bar in a bar graph), the right-click menu also includes the following options:

Search for related items opens the Task Manager. TLC auto-populates the Filter Wizard tab with conditions for the selected graph component. For more information, see Working with the Task Manager.

View related items opens a tab with the Events, Scanner Events, or Hosts that comprise the component. For more information, see Working with Tables.

View Time Graph opens a time graph for the Events, Scanner Events, or Hosts that comprise the component.

Color changes the color of the selected component.

Figure 43.  The Graph Toolbar

The Graph Toolbar

Table 38. Buttons in the Graph Toolbar

Button

Description

Save graph

Saves the graph as a bitmap (.bmp) file.

Copy to Clipboard

Copies the graph to your clipboard.

Print

Prints the graph.

Graph styles

Presents alternative styles for the graph.

Apply anti-aliasing

Applies an anti-alias algorithm to smooth bars or lines in the graph.

Color palettes

Presents alternative color palettes for the graph.

Toggle 2D/3D view

Toggles the graph between a two-dimensional and three-dimensional format.

Rotate graph

If the three-dimensional format is enabled with the 3D/2D button, this button rotates the graph.

Rotate around Y axis

If the three-dimensional format is enabled with the 3D/2D button, and the Rotated View button is selected, this button rotates the graph horizontally.

Rotate around X axis

If the three-dimensional format is enabled with the 3D/2D button, and the Rotated View button is selected, this button rotates the graph vertically.

Display Z axis

If the three-dimensional format is enabled with the 3D/2D button, this button displays the Z axis in a line chart.

Axis settings

Presents additional options for axes in a bar graph or line chart.

Apply labels

Applies informative labels to graph components.

Zoom

Enables the zoom feature. If enabled, you can magnify an area in the graph. To do so, click-and-drag a selection box around the area to be magnified.

Format options

Opens a Properties dialog with additional formatting options for the graph.

Figure 44.  The Annotation Toolbar

The Annotation Toolbar

Table 39. Annotation Toolbar

Button

Description

Selector

Selects annotation elements that have been added to the graph.

Rectangle

Used to draw a rectangle in the graph.

Circle

Used to draw a circle in the graph.

Arrow

Used to draw an arrow in the graph.

Picture

To insert an image file in the graph:

1. Click the Picture button.

2. Draw a region in the graph.

3. Right-click the region and select Image ...

4. Select the image file and click Open.

Text

Used to draw a text box in the graph.

Balloon

Used to draw a speech balloon in the graph.

Fill Color

Changes the fill color in a selected annotation element.

Line Color

Changes the line color for a selected annotation element.

Copy

Copies a selected annotation element.

Paste

Pastes a copied annotation element.

Bring to Front

Moves a selected annotation element to the front.

Send to Back

Moves a selected annotation element to the back.

Group

Groups selected annotation elements.

Note: To select multiple elements, select each element with the Selector tool while pressing the SHIFT key.

Ungroup

Ungroups a selected annotation element consisting of elements that were previously grouped.

Flip Vertical

Flips the graph vertically.

Flip Horizontal

Flips the graph horizontally.

Rotate Right

Rotates the graph to the right.

Rotate Left

Rotates the graph to the left.