2018.2

Table Of Contents
Business Graphic" on the facing page.
When a preview or output must be generated, the script adds the data for the chart
to the data-amchart attribute (in a dataProvider property). Connect then
passes the value of that attribute to the integrated amCharts library.
Rasterizing a business graphic
Business graphics are output as SVG images, but not all clients may support that format. Before
generating output, you may want to 'rasterize' it. This converts the business graph into a JPG or
PNG image.
To rasterize a business graphic, right-click it and select Rasterize Options.
For a JPG image you can set the quality of the resulting image in a percentage.
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 "Preflight" on
page350).
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.
Next to Values, select data fields with a numerical value.
Page 228