Pie Chart in Presentation Document
Leave feedback
View as MarkdownMarkdown
In this article, we will use GroupDocs.Assembly to generate a Pie Chart report in Presentation Document format.
The code uses some of the objects defined in
The Business Layer.
Pie Chart in Microsoft PowerPoint Document
Please follow below steps to create Pie Chart in MS PowerPoint 2013:
- Add a new presentation slide.
- Click the “Insert” tab, and then click “Chart” in the illustrations group to open the “Insert Chart” dialog box.
- Select “Pie”.
- Preview “Pie” and press OK to insert the chart and Worksheet template to your document.
- Edit the Worksheet with your data to update the chart. See Chart Data (Excel).
- Save the template.
As a report developer, you are required to share managers’ contract prices dynamically with the following key requirements:
- Report must show information on a Pie Chart.
- It must indicate manager name with value (price of the contract).
- Report must be generated in the Presentation Document.
Adding Syntax to be evaluated by GroupDocs.Assembly Engine
Total Contract Price<<foreach [in getManagers()]>><<x [getName()]>>
| Total Contract Price<<y [getContracts().sum(c => c.getPrice())]>> |
A | 8.2 |
B | 3.2 |
C | 1.4 |
D | 1.2 |
### Download Pie Chart TemplatePlease download the sample Pie Chart document we created in this article:
Pie Chart in OpenOffice Presentation Document
To be investigated.
We value your opinion. Your feedback will help us improve our documentation.