Adobe COLDFUSION 9 Manual page 1049

Developing applications
Hide thumbs Also See for COLDFUSION 9:
Table of Contents

Advertisement

DEVELOPING COLDFUSION 9 APPLICATIONS
Working with Documents, Charts, and Reports
Name
Initial Value:
Reset Field When:
Reset Group:
2
Expand the Report Footer band, which is located directly below the Page Footer band.
Copy the pie chart from the Group Footer and paste it in the Report Footer.
3
Double-click the pie chart and click the Next button.
4
5
Double-click Total Sales to display the Edit Chart Series dialog box.
Change the Series Label to Total Sales for Artists.
6
Change the chart series values:
7
Label
Sold
Unsold
8
Click the Next button, and then Click the Title & Series tab.
Change the Chart Title to Total Sales for Artists, and click Finish.
9
Choose File > Save from the menu bar to save your changes to the report.
10
11
Press F12 to preview the report.
The Total Sales for Artists pie chart appears only on the last page of the report. Verify that the calculations are correct.
Using Cascading Style Sheets
The Report Creation Wizard automatically creates and applies the following styles to your report:
• ReportTitle
• CompanyName
• PageTitle
• ReportDate
• SubTitle
• DetailData (default style)
• DetailLabel
• PageFooter
• RectangleStyle
• LineStyle
The instructions on
"Adding and formatting
apply it to a text field and a data field in the GroupFooter band. You can export the styles in a report to a CSS file.
Report Builder automatically generates the CSS code for the styles. This technique is an efficient way to maintain a
single set of styles to use with multiple reports. You can modify the styles in the CSS file by using any text editor and
either import the CSS file in Report Builder or override the styles in the report at run time.
TotalSold
0
Report (Changes)
LASTNAME
Value
#calc.TotalSold#
#calc.TotalUnsold#
fields" on page 1040 show how to add a field called GroupFooter and
Last updated 8/5/2010
TotalUnsold
0
Report (Changes)
LASTNAME
1044

Advertisement

Table of Contents
loading

Table of Contents