Changes

Jump to: navigation, search

Summarize iReport Template Data

10 bytes removed, 10:16, 16 September 2013
no edit summary
:The <FileName> bands… window displays.
<li>Do one of the following:</li>
*If you would like to add a footer at the end of a grouping, select the <''GroupAttribute''>Footer from the left pane where ''GroupAttribute'' is the name of the attribute on which the results will be grouped. For example, if you are creating a report on lands land and group the results by the priority, the name of the band would be priorityFooter.
*If you would like to add a summary section, select ''summary'' from the left pane.
<li>In the right pane, enter a numeric value in the '''Band Height''' field. The height of the section may also be adjusted later.</li>
<li>From the '''View''' menu, select '''Bands'''.</li>
:The <FileName> bands… window displays.
<li>Select <''GroupAttribute''>Footer from the left pane where ''GroupAttribute'' is the name of the attribute on which the results will be grouped. For example, if you are creating a report on lands land and group the results by the priority, the name of the band would be ''priorityFooter''.</li>
<li>In the right pane, enter a numeric value in the Band Height field. You may adjust the height of the summary.</li>
<li>Click the '''Apply''' button.</li>
<li>From the Chart Data tab, select the Details tab.</li>
<li>The Section Value tab should be selected by default. If it is not, select it.</li>
<li>The '''Key Expression''' defines the various slices of the pie chart. This will typically be each unique value for an attribute. For example, if the chart were to contain the total area size of lands land with a particular priority, the Key Expression would return the unique values for priority (e.g., Low, Medium, or High). To enter the key expression value:</li>
<ol type="a">
<li>Click the [[Image:iRepEditor.png]] icon that is displayed beside the Key Expression field.</li>
<li>Click the '''Apply''' button.</li>
</ol>
<li>The '''Value Expression''' field contains the expression that returns the numeric value for the key. For example, it may be the total land size of high priority landsland.</li>
<ol type="a">
<li>Click the [[Image:iRepEditor.png]] icon that is displayed beside the Value Expression field.</li>
</ol>
<li>The '''Label Expression''' field contains the expression that is used to determine the label for the segment of the pie chart. Because this expression will most likely be the same as the one used in the '''Key Expression''', you can copy the expression from the Key Expression field and paste it into the '''Label Expression''' field.</li>
<li>The following figure is an example of the Chart Properties window for a report that contains a pie chart which graphs the total area size of lands land based on their priority.</li>
</ol>
</ol>
Below is an example of a report template that totals the area size of lands land by priority.
[[Image:iRep28.png|center|500px|''Figure 28. Sample report template with pie chart'']]
<li>From the '''View''' menu, select '''Bands'''.</li>
:The <FileName> bands… window displays.
<li>Select <'''GroupAttribute'''>Footer from the left pane where ''GroupAttribute'' is the name of the attribute on which the results will be grouped. For example, if you are creating a report on lands land and group the results by the priority, the name of the band would be ''priorityFooter''.</li>
<li>In the right pane, enter a numeric value in the Band Height field. You may adjust the height of the summary</li>
<li>Click the '''Apply''' button.</li>
<ol>
*If you would like the horizontal axis of the bar chart to reflect the values of an additional attribute, the Series Expression would be the expression for the secondary level of detail. In the example shown below, the x-axis reflects the land priorities (e.g., Low, Medium, or High). In addition to displaying the priority, the bars of the chart use a different colour to reflect those lands land which block water access (red) vs. those that do not block the water (blue).
</ol>
<li>From the '''View''' menu, select '''Bands'''.</li>
:The <FileName> bands… window displays.
<li>Select <''GroupFieldName''>Footer from the left pane where ''GroupFieldNameis'' the name of the field on which the results will be grouped. For example, if you are creating a report on lands land and group the results by the priority, the name of the band would be ''priorityFooter''.</li>
<li>In the right pane, enter a numeric value in the Band Height field. You may adjust the height of the summary.</li>
<li>Click the '''Apply''' button.</li>
<li>From the '''View''' menu, select '''Bands'''.</li>
:The <FileName> bands… window displays.
<li>Select <''GroupFieldName''>Footer from the left pane where ''GroupFieldName'' is the name of the field on which the results will be grouped. For example, if you are creating a report on lands land and group the results by the priority, the name of the band would be ''priorityFooter''.</li>
<li>In the right pane, enter a numeric value in the '''Band Height''' field. You may adjust the height of the summary</li>
<li>Click the '''Apply''' button.</li>
277
edits

Navigation menu