HTML
JPG
PDF
XML
XLSX
XLSX
Create CylinderStacked Chart in XLSX Documents via C#
Generate high‑quality CylinderStacked charts programmatically with Aspose.Cells for .NET – no Microsoft Excel required.
Generating a Microsoft Excel XLSX file with a CylinderStacked chart programmatically is straightforward. The example below demonstrates how to build a workbook, populate data, and add a CylinderStacked chart using Aspose.Cells for .NET – all without the need for Microsoft Office on the server.
How to create CylinderStacked chart in XLSX via C#
The following steps guide you through creating a CylinderStacked chart:
- Include the required namespace.
- Create a
Workbookinstance. - Access the first worksheet.
- Populate the worksheet with sample data.
- Add a
Chartof typeChartType.CylinderStacked. - Set the chart’s data range, title and formatting.
- Save the workbook as an XLSX file.
System Requirements
The solution runs on any platform supporting .NET Framework, .NET Core, .NET 5/6/7, Mono, Xamarin, or Azure Functions. Development is typically performed with Microsoft Visual Studio or Visual Studio Code.
- Install the package via NuGet:or from the Package Manager Console:
nuget install Aspose.CellsInstall-Package Aspose.Cells - Alternatively, download the offline MSI installer or the ZIP distribution from the Aspose.Cells download page.
Create CylinderStacked Chart – C#
Aspose.Cells for .NET is a powerful Excel 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 the CylinderStacked chart demonstrated above.
XLSX What is XLSX File Format?
XLSX is the default file format of Microsoft Excel 2007 and later. It is a ZIP package containing XML parts that describe workbook data, styles, and relationships. Aspose.Cells fully supports XLSX creation, manipulation, and conversion while preserving the file’s structural integrity.
Read More