2018.2

Table Of Contents
of the parts of the Insert Chart wizards. It can be reopened by double-clicking the relevant script
in the Scripts pane.
For more information about charts, see: "Business graphics" on page602.
These are the options in the Chart Script dialog:
l
Name: The name of the script, making it easier to identify it.
l
Selector: The Selector or Text to apply the script to.
l
Selector: Uses CSS selectors to find the element to which the script applies. (See
also: "Selectors in Connect" on page745.)
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 within the specified Selector as a trigger for the script.
l
Input Type: Use the drop-down to select the source of the data to add to the Chart.
l
Data fields: Select to use fields at the record level in the Data Model.
l
Data table: Select to use fields in a detail table. At least one detail table must be
available in the Data Model Pane for this option to be functional.
l
Detail table: Use the drop-down to select one of the detail tables that are part
of the Data Model.
l
Category: Use the drop-down list to select the data field (in the selected detail
table) of which the values will appear under the bars or the line; in other
words, on the x axis.
l
Values: Select data fields with a numerical value.
l
Column: Removing the topmost check deselects all data fields.
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
page786) 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.
Page 820