HTML
JPG
PDF
XML
XLSX
XLSX
Create 3D Pie Chart in XLSX Documents via C#
Native and high‑performance Microsoft Excel XLSX spreadsheet with 3D Pie chart creation programmatically using server‑side .NET APIs.
Generating a Microsoft Excel XLSX file with a 3‑dimensional Pie (Pie3D) chart dynamically is straightforward. With Aspose.Cells for .NET you can create and customise Pie3D charts without requiring Microsoft Office installed on the server. This article demonstrates how to build a workbook, fill it with sample data, add a Pie3D chart, and save the result as an XLSX file.
How to create a Pie3D chart via C#
The following steps illustrate the complete workflow:
- Include the required namespace.
- Create a Workbook instance.
- Access the first worksheet.
- Populate the worksheet with data that will be visualised.
- Add a Chart of type Pie3D.
- Set the chart’s data range and optionally customise its appearance.
- Save the workbook as an XLSX file.
System Requirements
ASP.NET, .NET Core, .NET 5/6/7, Windows, Linux, or macOS environments are supported. You only need the Aspose.Cells NuGet package; no Microsoft Excel installation is required.
- Install via CLI:
nuget install Aspose.Cells - Or via Package Manager Console:
Install-Package Aspose.Cells
For offline installation or additional DLLs, visit the Aspose.Cells download page.
Create a 3D 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. In addition to chart generation, it supports a full range of spreadsheet operations such as formulas, data validation, pivot tables, and file format conversion.
XLSX What is XLSX File Format?
XLSX is the default file format for Microsoft Excel workbooks. It is a ZIP package that contains a collection of XML parts defined by the Office Open XML (OOXML) standard. Aspose.Cells works directly with these parts, allowing high‑performance manipulation without requiring Microsoft Office.
Read More