2019.1

Table Of Contents
underlying configuration: Programmatically configure a Chart object.
For another example see this How-to: Put one slice per detail record in a Pie Chart.
Note
As of PlanetPress Connectversion 2018.1, the way charts can be compiled and presented has been
greatly improved. As a consequence, charts made with a version of Connect prior to 2018.1 may
not be converted correctly when opened in a later version. For a list of known backward
compatibility issues see: "Business Graphics: Backward Compatibility Issues introduced in 2018.1"
on page140. Also note that charts based on expanded, custom scripts are never converted.
Inserting a business graphic
The Connect Designer has wizards for adding three kinds of graphics: Pie Charts, Bar Charts
and Line Charts. These wizards insert the chart and its accompanying script, after you select
the data that should be displayed, their colors and labels, and a few display options.
To insert a business graphic in a template:
1. Place the cursor where the graphic should be added. Also make sure that you have
loaded data or a data mapping configuration (see "Loading data" on page764).
2.
Click the toolbar button of the type of chart you want to add, or select Insert > Business
graphic and choose the chart type.
The wizard opens with a page on which you can specify the attributes and insertion point
of the graph.
3.
An ID is required. You can change the given ID and, optionally, add a class.
4.
Check the option Absolute if you want the chart to have an absolute position. Leave it
unchecked to insert the chart as part of the text, and use the Location drop-down to select
where in the text the graphic should be inserted:
l
At cursor position inserts it where the cursor is located in the template.
l
Before element inserts it before the HTML element in which the cursor is currently
located. For example if the cursor is within a paragraph, the insertion point will be
before the <p> tag.*
l
After start tag inserts it within the current HTML element, at the beginning, just after
the start tag.*
Page 673