2020.2

Table Of Contents
l
Labels: Click the label to enter a new label for a field. It depends on the Input Type
where the labels appear: with Data Fields, the labels appear under the x-axis of the
chart; with a Data Table, labels appear in the Legend.
l
Color: Click on the color to open the Color Picker dialog ("Color Picker" on
page938) and select a different color.
Buttons next to Values:
l
The Toggle non-numeric fields button filters non-numeric fields from the list. The
list will then display only Integer, Float and Currency data fields.
l
The Move Up and Move Down buttons change the order of the fields, which is
reflected in the chart.
l
OK: Click to save any changes made to the script, apply the changes in the template, and
close the dialog.
l
Cancel: Click to close the dialog without saving changes.
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.
The expanded script will use either double or single quotation marks, depending on the
Preferences (Window > Preferences >Scripting; see "Scripting preferences" on
page849).
l
Apply: Saves changes made to the script and applies the changes in the template
without closing the dialog. Note that the effect will only be visible on the Preview tab in
the Workspace.
Expanded 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853.
For an overview of keyboard shortcuts that can be used in this script editor, see "Keyboard
shortcuts" on page1019.
Conditional script dialog
Conditional scripts can show or hide elements on the page depending on certain conditions
and values. They can be added by right-clicking any element in a template and clicking Make
Conditional. If the current element has neither an ID nor a class, an ID will be automatically
generated. See "Showing content conditionally" on page795.
The options in the Conditional Script wizard are:
Page 993