2021.2

Table Of Contents
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 page792).
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.*
l Before end tag inserts it within the current HTML element, at the end, just before
the end tag.*
l After element inserts it after the element in which the cursor is currently located. For
example if the cursor is within a paragraph, the insertion point will be after the end
tag of the paragraph (</p>).*
l Replace inserts it in place of the currently selected element. (This option is not
available when inserting content in a Master Page.)
* If the current element is located inside another element, use the Elements drop-down to
select which element is used for the insertion location. The list displays every element in
the breadcrumbs, from the current selection point down to the root of the body.
Note: HTML has some restrictions as to which types of elements are allowed as children
of other elements. For example, a paragraph element is not allowed to have children that
are block level elements - like a Div or a Table. If inserting content at the selected location
would produce invalid HTML the final result may be different than expected. For example,
when you insert a Div into a paragraph, the paragraph gets split in two. This means you
end up with two paragraphs with the Div in between.
5. Click Next and specify the data for the graph. These settings can also be edited when
you open the script, after you've inserted the chart. For an explanation of the options in the
wizard, see "Selecting data for a Business Graphic" on page703.
Page 701