
1033
DEVELOPING
COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
Las
t
upda
te
d 8/5/2010
•
Concatenating fields
•
Formatting fields
•
Calculated fields
•
Accessing and displaying ColdFusion page variables and scopes
For information on using the Expression Builder, see Report Builder online Help.
For more information on expressions, see “
Using Expressions and Number Signs
” on page 64.
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.
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 in these chart images is not real.
The Chart Wizard includes the following panels:
•
Chart Types
: Select the chart type (for example, bar) and subtype (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 and series, general appearance, 3D appearance, lines and markers, and font.
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, see the CFML Reference.
For complete information on ColdFusion charting capabilities, see “
Creating Charts and Graphs
” on page 982. 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 that you display in a subreport is typically related to the
data in the main report. You enable this display 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 prefer to avoid complex SQL, such as a RIGHT OUTER JOIN.
•
Your report requires data from multiple databases.
Содержание COLDFUSION 9
Страница 1: ...Developing Applications ADOBE COLDFUSION 9...