5.10.3 Graph Properties

In order to configure the visual properties of a graph, select the appropriate graph node in the Functions tree, right-click to open the context menu and select the Edit... command. The dialog which is shown in figure Graph dialog will be opened.

Graph dialog
Graph dialog

The properties that can be configured are described in table Graph dialog properties.

In the View menu you can find the Graph Default Settings sub-menu. In this menu you can configure the default settings for a graph either in the Options dialog or directly in the menu. These settings are applied when a new graph is created. When the default settings are changed the new settings won't be applied to existing graphs. The graph default settings are a subset of the settings listed in table Graph dialog properties. They cover setting the graph window, the draw mode, the line style and the sample shape.

Graph dialog properties
Property Description
Window Specifies the selected Graph window that is used to display the graph.
Color Sets the color of the graph. You can select a color from a color menu (Select...) or you can create a random color by pressing the Random button. Press the SHIFT key while selecting the Graph command in the context menu to generate a random color for a graph.
Draw mode

Defines what graphical elements are drawn in the Graph window. The following basic elements, which can be combined, are available:

Lines: the graph function's adjacent output values are connected with lines

Samples: graphical element like squares or rectangles are drawn for each output value of the graph function.

Moreover, when lines are drawn you can make them Alternating. See Visualizing Call Sequences of Functions -Enter/Exit Logging for a use case of this feature.

Line style Sets the line style, e.g. solid, dashed, etc.
Sample shape Sets the style of the graphical elements of type sample (see Draw mode property above): e.g. triangle, square, etc.
Scale Scales the y-axis by multiplying the standard values with the selected scale value, e.g. 500 * 10 when the scale value 10 is selected.
Type Sets the type of a graph: timeline or column
Timeline index Selects a timeline. Only available if the graph type timeline was selected.
Column Selects a column whose data should be displayed. Only available if the graph type column was selected.
Fixed samples

Shows the number of fixed samples that are already set. The button Select… opens a dialog to add new fixed samples. No own node is created in the fixed samples category of the Functions tree and thus fixed samples created from the graph dialog cannot be accessed from the Functions tree. Use the Graph dialog and the Select… button to access previously created fixed samples. More about fixed samples can be found in Fixed Samples.

Z-Order Defines the visibility of the graph. If graphs overlap the one with the highest value in the Z-Order field is displayed on top.