Pie Chart in Presentation Document
Leave feedback
Copy for LLM Copy
Copied
Failed
View as Markdown Markdown
Set up agent Agent
Give your coding agent live access to the GroupDocs documentation and API reference through the
GroupDocs Docs MCP server — no install, no API key. Learn more
Claude Code
Cursor
VS Code
Codex
Claude Desktop
Other
Claude Code Cursor VS Code Codex Claude Desktop Other claude mcp add --transport http groupdocs-docs https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
claude mcp add groupdocs-assembly -- dnx GroupDocs.Assembly.Mcp --yesFolders, licensing and more → Add to Cursor Or add it to ~/.cursor/mcp.json:
{
"mcpServers": {
"groupdocs-docs": { "url": "https://docs.groupdocs.com/mcp" }
}
}Also process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Assembly MCP server → Install in VS Code Or add it to .vscode/mcp.json in your workspace:
{
"servers": {
"groupdocs-docs": { "type": "http", "url": "https://docs.groupdocs.com/mcp" }
}
}Also process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Assembly MCP server → codex mcp add groupdocs-docs --url https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
codex mcp add groupdocs-assembly -- dnx GroupDocs.Assembly.Mcp --yesFolders, licensing and more → In Claude Desktop or claude.ai, open Settings → Connectors → Add custom connector, and paste this URL:
https://docs.groupdocs.com/mcpAlso process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Assembly MCP server → Any MCP client that supports remote (HTTP) servers:
{
"mcpServers": {
"groupdocs-docs": { "url": "https://docs.groupdocs.com/mcp" }
}
}No MCP support? Point your agent at https://docs.groupdocs.com/assembly/net/llms.txt — every page also has a Markdown version at its URL + .md.
Also process documents locally
The GroupDocs.Assembly MCP server lets your agent work with files on your machine; they are never uploaded. It needs the .NET 10 SDK or Docker.
Set up the GroupDocs.Assembly MCP server →
In 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 .
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 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. Adding Syntax to be evaluated by GroupDocs.Assembly Engine
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
For detailed technical information about syntax, expressions and report generation by the engine, please visit:
Working with GroupDocs.Assembly Engine .
Download Pie Chart Template
Please 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.