HTML
JPG
PDF
XML
XLSX
XLSX
Create PieExploded Chart in XLSX Documents via C#
Programmatically generate high‑quality Excel XLSX files with exploded pie charts using Aspose.Cells for .NET APIs.
Generating an Excel XLSX file with an exploded pie chart (PieExploded) is straightforward with Aspose.Cells for .NET. The library enables you to create, style, and embed charts without requiring Microsoft Office on the server.
How to create a PieExploded chart in XLSX via C#
The following steps show how to insert a PieExploded chart, configure its data series, and customize the appearance—all in a few lines of code.
- Include the Aspose.Cells namespace in your source file.
- Create a Workbook instance.
- Access the target Worksheet.
- Fill the worksheet with category names and numeric values.
- Insert a Chart of type PieExploded.
- Set the chart’s data range, explode options, and style.
- Save the workbook as an XLSX file.
System Requirements
Aspose.Cells for .NET works on any platform that supports .NET Framework 4.0+, .NET Core 2.0+, .NET 5/6/7, Mono, Xamarin, or Azure Functions. Development can be performed with Visual Studio, Rider, or any IDE that supports C#.
- Install via NuGet:
nuget install Aspose.CellsorInstall-Package Aspose.Cellsin the Package Manager Console. - Or download the offline MSI/ZIP package from the Aspose.Cells .NET downloads page.
Create PieExploded Chart in XLSX – C#
Aspose.Cells for .NET is a comprehensive spreadsheet library that enables developers to create, modify, convert, render, and print Excel files across multiple platforms without Microsoft Office. It supports all standard Excel features, including a rich set of chart types such as PieExploded.
XLSX What is XLSX File Format?
XLSX is the default file format for Microsoft Excel since Office 2007. It follows the Open Packaging Conventions (OPC) and stores data as a collection of XML parts within a ZIP container, making it easy to manipulate programmatically.
Read More