Pie Chart in Presentation Document
Leave feedback
NoteIn this article, we will use GroupDocs.Assembly to generate a Pie Chart report in Presentation Document format based on the use case: Working with a Business Case.
NoteThe code uses some of the objects defined in The Business Layer.
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 your customers’ orders details dynamically with the following key requirements:
- The report must show information on a Pie Chart.
- It must indicate customer name with value (price of the orders purchased).
- The report must be generated in the Presentation Document.
Total Order Price<<foreach [in customers]>>
<<x [CustomerName]>>
Total Order Price<<y [Order.Sum(c => c.Price)]>> |
8.2 |
3.2 |
1.4 |
1.2 |
TipFor detailed technical information about syntax, expressions and report generation by the engine, please visit: Working with GroupDocs.Assembly Engine.
Please download the sample Pie Chart document we created in this article:
- Pie Chart.pptx (Template for CustomObject and JSON examples)
- Pie Chart_DB.pptx (Template for DataSet, DataBase and XML examples)
To be investigated.
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.