#At least one variable that contains a calculation. This calculation may be a count, total, or other custom calculation. These calculated variables define the size of the chart segment. The '''Reset type''' of this calculation should be set to '''Group''' and use the report grouping defined in #1. See [[Modify_an_iReport_Template|Modify an iReport Template]] for more information on [[Modify_an_iReport_Template#To_add_a_variable_manually|adding variables]].
To add a pie chart to the report:
#Create a report which groups the results by the attribute on which you would like to base your chart (e.g. ''status'')
# The report can now be previewed to ensure it is functioning as expected.
#:[[Image:iReport ChartsPreview.png|center|500px|''Preview with Chart'']]<div align="center">''Preview with chart''</div>
===Modify a Pie Chart===
To modify a pie chart
To add a bar chart to the report: