In this article
We will now look at the Chart element.
- In the Report toolbox, double-click on the Chart element (or right-click and choose Edit).
- Drag the aggregated table node from the Reports toolbox, and drop it into the Drop Table Here area .(see figure below).
The Chart Designer page opens.
First, we need to specify which aggregated table we want to base the chart on.
Note: If when the Page is created the designer chooses a Layout Master that includes both a Table and a Chart element, then the Table and the Chart will be connected automatically. However if the Page is created without both elements then there will be no such connection and you will then have to make that connection “manually” as described below. For example, if you first create a page, then add a table, and then add a chart, there will be no connection between the two elements.
Note also that if you are using a Layout Master that contains two tables and a chart, the chart will be connected to the first table. And if you are using a Layout Master that has more than one chart, only the first chart will be automatically connected to a table.
To specify which table we want to base the chart on:
Figure 1 - Dropping a table element into the chart
The chart as currently defined appears in the preview area to the right of the Chart Designer .
Figure 2 - Chart preview
You may well need to edit the properties of this chart to present the information to best effect. Use the properties in the various tabs down the left side of the Chart Designer window . See the figure below for an example.
Figure 3 - Example of how property settings can be used to change the chart look
Note that a chart can be based on any table, on any page in the report. Once a chart is linked to a table, the relevant table will be identified in the Chart element in the Page Editor by the text (T:<table name>).
Remember to save your changes.