2021.2

Table Of Contents
Note
A business graphic in an Email section is rasterized by default and output as PNG image,
because email clients usually don't support SVG images.
SVG images in an Email section give an error in the Preflight window (see "Doing a
Preflight" on page889).
Selecting data for a Business Graphic
A Business Graphic script determines which data, colors and labels are used in the chart.
Double-click the script on the Scripts pane to open it.
Tip
To find the script that provides data for a chart, hover over the names of the script in the
Scripts pane. That particular script will highlight the chart in the template and its selector
is the same as the ID of the business graphic (preceded by #).
1. Use the Input Type drop-down to select the source of the data for the Chart:
l Data Fields: The data originate from data fields in the main record. The chart will
have the same number of items for each record.
l Data Table, the data are taken from a detail table that you select using the Detail
Table drop-down.
Note
In Pie Charts, only data from the first record in the detail table are used.
How to create a Pie Chart that has one slice per detail record is explained in a
How-to: Put one slice per detail record in a Pie Chart.
2. For a Bar or Line Chart based on a detail table, you also have to select a Category: one
data field (in the detail table) of which the values will appear under the bars or the line; in
other words, on the x axis.
Page 703