Changes

Jump to: navigation, search

Summarize iReport Template Data

73 bytes removed, 22:45, 30 April 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 hazards lands 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 hazards lands 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 hazards lands 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 hazard land size of high priority hazardslands.</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>[[:Image:iRep27.png|Figure 27]] is an example of the Chart Properties window for a report that contains a pie chart which graphs the total area size of hazards lands based on their priority.</li>
</ol>
</ol>
Below ([[:Image:iRep28.png|Figure 28]]) is an example of a report template that totals the area size of hazards lands 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 hazards lands 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 in [[:Image:iRep31.png|Figure 31]], the x-axis reflects the hazard 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 hazards lands which block water access (red) vs. those that do not block the water (blue).
</ol>
===Grouped Bar Chart===
The horizontal axis of the bar charts discussed in the previous section compared the values of a single variable. For example, the bar chart below compares the number of different hazard reduction activity types.
[[Image:iRep34.png|center|500px|''Figure 34. Bar chart comparing values of a single variable'']]
</div>
In this section, you will learn how to create a grouped bar chart. A grouped bar chart compares the values of a single variable in one group to the same variables in another group. In the example below, the grouped bar chart still compares the number of hazard reduction activity types. However, the chart also compares the number of hazard reduction activity types between the districts. The number of hazard reductions activity types (clearance, impact survey, technical survey, and road clearance) are represented by the different bar colours as indicated in the legend. The coloured bars are clustered together based on their district. The first cluster of bars shows the number of hazard reductions activity in the Bolikon district. The second cluster of bars shows the number of hazard reductions activities in the Waltern district.
[[Image:iRep35.png|center|500px|''Figure 35. Grouped bar chart comparing values of a single variable'']]
<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 hazards lands 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 hazards lands 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>
2,186
edits

Navigation menu