Error: Invalid spaceKey on retrieving a related space config.

Adding a pie chart to an existing report

This example adds a pie chart to an existing report, displaying the same data that the report already shows in tabular format also in the form of a pie chart.

Note

You can either directly modify this report or first duplicate it and then modify the new report.

  1. Select the Reports > Global Software List node in the left tree hierarchy.
  2. Double-click an entry in the right window pane.
    The Properties window appears.
  3. Select Style5 in the Report Style drop-down list.
  4. Click OK .
    The following Subreport Count box will change from 1 to 2 and the node in the left window pane will now display two subnodes
  5. Go to Subreport 1 in the left tree hierarchy.
  6. Right-click the mouse and select the pop-up menu item Copy , as we displays the same data in the pie chart of the second subreport.
  7. Now select Subreport 2
  8. Right-click the mouse and select the pop-up menu item Replace
    The list of columns of the first subreport is now duplicated to the second subreport.

    Note

    Make sure that one attribute, the one according to which all entries are sorted, exist twice: once with an Operator , for example Count , and once as usual without operator but grouped by. This is absolutely obligatory for any type of graphical display otherwise the data can only be displayed in the form of a table.

  9. Now select the Format tab to customize your pie chart.
  10. From the Subreport Format drop-down list select the value Pie Chart .
    The following list now shows all available attributes for pie charts.
  11. Double-click an entry in the right window pane.
    The Properties window appears.
  12. Make the following modifications to enlarge and enhance the chart:
    • Check the Value Labels box.
    • Increase the Chart Width to 800.
    • Increase the Chart Height to 400.
    • Check the Percent Labels box.
    • Increase the Maximum number of values to 20.
  13. Click OK .
  14. To have a preview of the newly created subreport click the following Subreport Preview button.
    A new browser tab opens in which you can see how this subreport will appear in the final report.
  15. Select the Global Software List report in the left tree hierarchy.
  16. Click View Last Result .
  17. Click Yes in the appearing pop-up window.
    A new browser window or tab opens and displays the report.
  18. If the global software list is very long, you should use the pie chart subreport as the first one. To do so select the Subreports node in the left tree hierarchy.
  19. Select the first subreport in the table to the right.
  20. Click Move Down .
  21. Then regenerate the report by clicking View Last Result .
  22. Click Yes in the appearing pop-up window.

A new browser window or tab opens and displays the newest version of the report.

Was this page helpful? Yes No Submitting... Thank you

Comments