HTML
JPG
PDF
XML
XLSX
XLSX
Create Pie‑Pie Chart in XLSX Documents via C#
High‑performance Microsoft Excel XLSX spreadsheet with Pie‑of‑Pie chart creation programmatically using server‑side .NET APIs.
Generating a Microsoft Excel XLSX file with a Pie‑of‑Pie chart (also known as “Pie‑Pie” chart) programmatically is straightforward with Aspose.Cells for .NET. This guide demonstrates how to create a worksheet, populate it with sample data, and insert a Pie‑of‑Pie chart without requiring Microsoft Office on the server.
How to create a Pie‑Pie chart in XLSX via C#
The following steps walk you through the creation of a Pie‑of‑Pie chart:
- Include the required namespaces.
- Instantiate the Workbook class.
- Access the target worksheet.
- Populate worksheet cells with data.
- Add a Pie‑of‑Pie chart and bind it to the data range.
- Configure chart title, legend, and style.
- Save the workbook as an XLSX file.
System Requirements
Supported on any platform that runs .NET Framework, .NET Core, .NET 5/6/7+, Windows Azure, Mono, or Xamarin. Development can be performed using Visual Studio, Rider, or any IDE that supports C#.
- Install via NuGet:
nuget install Aspose.CellsorInstall-Package Aspose.Cellsin the Package Manager Console. - Offline installers and ZIP packages are available from the Aspose.Cells download page.
Create Pie‑of‑Pie Chart – C#
Aspose.Cells for .NET is a powerful spreadsheet library that enables developers to create, modify, convert, render, and print Excel files across platforms without Microsoft Office. It supports a wide range of chart types—including Pie‑of‑Pie—making it ideal for data‑driven reporting and visualization scenarios.
XLSX What is XLSX File Format?
XLSX is the default file format for Microsoft Excel workbooks introduced with Office 2007. It follows the Open Packaging Conventions (OPC) and stores spreadsheet data as a collection of XML parts packaged in a ZIP container.
Read More