path Element (GPL)

Syntax

path(<function>)

<function>. One or more valid functions. The position function is required. The scale function is required when there are multiple scales in a single dimension (as in a "dual axis" graph).

Description

Specifies a path graphic element. The path graphic element connects the data values in the order in which their associated cases appear in the dataset. Therefore, it can cross back on itself. This is one of the features that distinguishes the path graphic element from the line graphic element. Additionally, paths can have variable sizes, so another variable can control the thickness of the path at any particular point.

Examples

Figure 1. Example: Line chart drawn through all values
ELEMENT: path(position(salbegin*salary))
Figure 2. Example: Creating a line chart with variable widths
ELEMENT: path(position(salbegin*salary), size(educ))