1.5

Table Of Contents
l
Expand: Click to convert the script generator to a regular script. Note that this action is not
reversible once the regular script has been saved.
l
Apply: Saves changes made to the script and applies the changes in the template
without closing the dialog.
Epanded Script window
When expanded, the Script window replaces all parts of the wizard below the Selector by a box
in which the script can be typed. See "Writing your own scripts" on page515.
Chart Script dialog
These are the options in the Chart Script dialog:
l
Name: The name of the script, making it easier to identify it.
l
Find: The Selector or Text to apply the result of the script to.
l
Selector: Uses CSS selectors to find the element to which the script applies.
l
Text: Uses text as a trigger for the script. The script applies to all instances of the
text found in the template.
l
Selector and Text: Uses text as a trigger for the script but only applies to text within
the specified Selector.
l
Input Type: Use the drop-down to select the source of the data to add to the Chart. The
selection changes the options below:
l
Static Labels: Select to use a static number of data lines below. The chart will
always have the same number of items.
l
Data List: Lists the data lines that are part of the Chart. Each line represents a
segment of the pie as well as a label if they are shown.
l
Labels: The text of the label to display next to the Chart or within the
legends.
l
Values: The value that will be used to create the Chart. This is the name
of a field within the Data Model.
l
Add: Click to add an entry to the Data List. Opens the Edit Label Properties
dialog.
l
Delete: Click to delete the currently selected line in the Data List.
Page 593