Specifications

www.evisions.com Argos - Argos Report Writers Guide Page 84 of 118
Document Version 1.0 Last Updated 10.18.2010
Creating a Chart
Example 11
This example will demonstrate how to add a simple chart to a Banded Report as shown in
the figure below.
Figure 144Banded Report with a chart
The report contains a list of employees (ID and name) within a department and a chart
showing the salary of each employee.
The Employees Table within the sample database is the only table used in this example. A
DataBlock form was created in which the user enters the department name.
Four bands are utilized as follows:
Title band containing the department name (grey background color).
Column Header band containing the “ID” and “Name” titles.
Detail band containing the list of employees.
Summary band containing the chart.
The steps to create the report follow.
Create the Title, Column Header, and Detail Bands
Create a new Banded Report, launch the Banded Report Wizard, then select a “Blank
Report” Type.
Populate the Title, Column Header, and Detail Bands with the appropriate fields using
methods described in previous examples. As a reminder, note that the Title Band contains
the value selected in the DataBlock form using the procedure described in a previous
example.
The remainder of this example is devoted to creating the chart that will be placed within
the Summary Band.
Charting in Argos
The chart to be created in this example is very
simple and was included primarily to show how
to add a chart to a Banded Report.
Chart icon on Band Report Editor toolbar
Centering the text in the title band
To quickly center the text within the title bar
horizontally or vertically, click on the text, then
click the “Align the selected control to the
horizontal center of its parent” button, or click
“Align the selected control to the vertical center
of its parent” button.
Align to horizontal center of its parent
Align to vertical center of its parent