VIVEK SHAH

011011010010000001100001011001000110010001101001011000110111010001100101011001000010000001110100011011110010000001101010011000010111011001100001 Click Here

Custom Search

From the Palette, drag and drop a Chart to the summary area of the canvas. The chart type window appears. Select the second pie chart called Pie 3D and click OK:






















A pie chart appears in the summary area.

Click on the pie chart and enlarge so it fills most of the summary area.























Right-click on the pie chart and select Chart Data (as shown above). The Chart details window appears. Notice that there are two tabs: Dataset and Details. On the Dataset tab, set the Increment type to Group. On the Increment group field, set it to INCIDENT_NAME:






















Select the Details tab.
In the Key expression field click the pencil edit icon shown below at the right:









The Expression editor window appears. Click Fields and then double-click on INCIDENT_NAME field to add $F{INCIDENT_NAME} to the expression canvas. Click Apply:

















In the Value expression field, click the pencil edit icon at the right. The Expression editor window appears. Click Variables and then double-click on the INCIDENT_NAME_COUNT variable to add $V{INCIDENT_NAME_COUNT} to the expression canvas as shown below.. Click Apply. In the Label expression field, click the pencil edit icon at the right. The Expression editor window appears. Click Label and then double-click on the INCIDENT_NAME field to add $F{INCIDENT_NAME} to the expression canvas. Type + " - "' and then click Variables. Double-click on the INCIDENT_NAME_COUNT variable to add $V{INCIDENT_NAME_COUNT} to the expression canvas as shown in the diagram below. The final expression should read:

$F{INCIDENT_NAME} + " - " + $V{INCIDENT_NAME_COUNT}

Click Apply.

Here is how the completed Details tab looks:



















Select Close to dismiss the Chart details window. Save your work.
Click on the Preview View control:






Your report appears:





















0 comments:

Post a Comment