Create PyramidColumn3D Chart in XLSX Documents via C#
High‑performance creation of 3‑D Pyramid Column charts in Microsoft Excel spreadsheets using server‑side .NET APIs.
Generating a Microsoft Excel XLSX file with a 3‑D Pyramid Column chart programmatically is straightforward with Aspose.Cells for .NET. The library does not require Microsoft Office to be installed and works across all .NET platforms—including .NET Framework, .NET Core, .NET 5/6/7, Azure, Mono and Xamarin.
With a few lines of code you can:
- Populate worksheet data.
- Add a
PyramidColumn3Dchart. - Configure chart title, legend, axis, and visual style.
- Save the workbook as XLSX, XLS, PDF, HTML, or image.
How to create a PyramidColumn3D chart in XLSX via C#
The following steps illustrate the creation of a PyramidColumn3D chart inside an Excel workbook using Aspose.Cells for .NET.
- Install the Aspose.Cells NuGet package.
- Include the required namespaces.
- Create a
Workbookand obtain the firstWorksheet. - Fill the worksheet with sample data.
- Add a
PyramidColumn3Dchart to the worksheet. - Set chart properties (title, legend, style, axis labels, etc.).
- Save the workbook.
System Requirements
- Operating System – Microsoft Windows, Linux, macOS (via .NET Core / .NET 5+)
- Development Environment – Visual Studio 2019/2022, Rider, VS Code, or any IDE that supports .NET.
- .NET Platforms – .NET Framework 4.5+, .NET Core 2.1+, .NET 5/6/7, .NET Standard 2.0, Mono, Xamarin.
- Aspose.Cells for .NET – latest version (available via NuGet).
Install via NuGet:
dotnet add package Aspose.Cellsor from the Package Manager Console:
Install-Package Aspose.CellsAlternatively, download the full library from the Aspose.Cells .NET download page.
Create PyramidColumn3D Chart - C#
XLSX What is XLSX File Format?
XLSX is the default file format for Microsoft Excel workbooks. It is a ZIP‑based Open XML package that contains XML parts representing worksheet data, styles, shared strings, and other workbook resources. Aspose.Cells works directly with the package, allowing high‑performance read/write operations.
Read More