Working with business graphs / Creating a graph |
The Design Window will contain a Chart object and its related Item object (shown as a price tag). If you cannot view the entire chart in the Report Design window, you can re-size the display of the report in the window: point the mouse at the report and scroll the mouse scroll button while holding down the keyboard Control key.
Figure 1. Chart object in the work area
Drag and drop the nodes in the Structure view to create the correct hierarchy. If you drop a container or trigger on a different node, it will be a child of that node. Use alt-drag and it will become the parent of that node.
With Figure 2, the Structure View that resulted from the creation of a new report containing a chart. It will create a new page and chart for each data row passed to the report, and therefore needs to be modified:
Figure 2. One chart per each row
With Figure 3, the Structure view will result in a page containing one chart; the item node is a child of OnEveryRow:
Figure 3. One chart, one page
With Figure 4, the Structure View will result in one chart for every unique userid, since the Map Chart is a child of the userid trigger node; the item node is a child of OnEveryRow:
Figure 4. One chart for each unique userid