Siebel Reports Administration Guide > Using Graphics in Reports >

Example—Creating a Report with Graphics


You can add a summary graph to the After section in a report containing a group break. The graph will appear at the end of each page, following the detail records. The graph summarizes the information on each page.

In this example, the standard Opportunities - by source report—which lists opportunities for each source on a separate page—is modified to include a bar graph at the end of each page. The bar graph aggregates the opportunities by month. This is essentially the same bar graph that appears in the Opportunities Pipeline report described in Sample Report—Opportunities Pipeline. The custom report you create will provide such a graph for each group of opportunities with the same source, rather than once for the entire report.

You will subclass the existing OPSRC report for the sake of keeping the example simple. Normally you would create a new report design.

To create an Opportunities By Source report with graphics

  1. In Actuate e.Report Designer Professional, choose File > Open, and then in the dialog box that appears, choose Opsrs.rol.
  2. Save this file as OpSrsTest.rol.
  3. Double-click the root object. Change the following property values in the component editor:
  4. In the structure tree, navigate to the group section (ssGrp1) and subclass it following the instructions in To create a report design file in Actuate e.Report Designer Professional.
  5. Set View > Options > Show Empty Slots to TRUE if it is not already set.
  6. Open the Library Browser window for the sscustom library and drag the ssFrm component from the Library Browser window to the child After slot of the group section, then right-click the resulting After frame and subclass it.
  7. Drag the ssSummaryGraph component from the Library Browser window to the Content child slot of the After frame, then close the Library Browser window and turn off the display of empty slots.
  8. Enlarge the After frame vertically by dragging its bottom handle.
  9. It should be a few inches in height on your screen.

  10. Enlarge the graph control by dragging its lower-right handle so that it nearly fills the After frame.
  11. Select the group component in the structure tree, right-click, and click Properties, then change the Page.PageBreakBefore property setting to TRUE.
  12. Close the Component Editor window.
  13. Select the summary graph component in the structure tree, right-click, and click Properties.
  14. Set the properties to match the values in Table 7, set the Titles.TitleText value to blank, and close the Component Editor window.
  15. Make sure that Siebel Sales is open, with an active view in Opportunities displayed.
  16. Build and run the report.

The resulting report should look like Figure 23. The Opportunities - by source report reflects a listing of opportunities by a sales representative at the end of the second quarter. The accompanying graph shows the revenue possibility against the number of months the opportunity has been active.

Figure 23.  Modified Opportunities - By Source Report

Click for full size image


 Siebel Reports Administration Guide, Version 7.5, Rev B 
 Published: 18 April 2003