LASTNAME,
CLASSICMODELS.EMPLOYEES.FIRSTNAME
4. Create two Report Parameters called startDate and endDate as Date types,
and link them to the two Report Parameters. Use 2005-01-01 as the startDate
Default value, and 2005-05-01 as the endDate Default value.
5. Drag a Chart component from the Palette to the Report Designer.
6. In the Chart Dialog, select Pie Chart. Change the Output Format from SVG
to PNG. Typically, I use either PNG or JPEG because SVG is not a universally
supported format. However, SVG does have a distinct advantage over both
PNG and JPEG in that it is of significantly smaller size due to its vector nature.
Chapter 9
[ 207 ]
7. Open the Select Data tab. Under the Select Data section, select Use Data Set,
and choose the totalSales Data Set.
Charts, Hyperlinks, and Drill-Downs
[ 208 ]
8. You can drag the column headers from the Data Set to the slice definitions.
Drag the Sales column to the Slice Size Definition, and the Name column to
the Category Definition.
Chapter 9
[ 209 ]
9. Select the Format Chart tab. Under the Chart Area|Title section, enter
Employee Sales Percentages as the Chart Title.
Charts, Hyperlinks, and Drill-Downs
[ 210 ]
10. Click on Finish. Resize the Chart to take up the report page.
Modifying Chart Properties
So, we have built a fairly simple report so far.
Pages:
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174