User Guide

Table Of Contents
800 Chapter 32: Creating Reports for Printing
For information on using the Expression Builder, see Report Builder online Help.
For more information on expressions, see Chapter 4, “Using Expressions and Number Signs.
Using charts
Charts can help clarify large or complex data sets. The Report Builder lets you place a chart in any
report band and supports many types of charts.
To add a chart to a report, you use the Chart Wizard, which steps you through the chart building
process. The Chart Wizard, which is fully integrated with the Query Wizard to facilitate
database-driven charts, helps you define the chart type, the data used for the report and other
formatting options.
Tip: As you use the Chart Wizard to choose and define the various aspects of a given chart, the
Report Builder uses RDS to generate chart images in real time. However, the data shown in these
chart images is not real.
The Chart Wizard includes the following panels:
Chart Types Select the chart type (for example, bar) and sub-type (for example, 3D-
stacked).
Chart Series Select the data for the series. When you add a series, the Report Builder lets
you hard-code series data or open the Query Builder to populate the series using a database
query.
Chart Formatting Specifies title & series, general appearance, 3D appearance, lines &
markers, and font.
Tip: The data you specify through the Chart Wizard corresponds to the attributes specified in the
cfchart, cfchartseries, and cfchartdata tags. For more information on these tags, refer to CFML
Reference and ColdFusion MX Developer’s Guide.
For complete information on ColdFusion MX charting capabilities, see Chapter 31, “Creating
Charts and Graphs. For more information on charting using the Report Builder, see Report
Builder online Help.
Using subreports
Subreports let you nest a report within your report. The data you display in a subreport is
typically related to the data in the main report and you enable this by passing one or more
subreport parameters to the subreport. However, the data displayed in a subreport can also be
unrelated to the data in the main report.
Reasons to use subreports including the following:
You wish to avoid complex SQL, such as a RIGHT OUTER JOIN.
Your report requires data from multiple databases.