HTML JPG PDF XML XLSX
  Product Family
XLSX

Create Area100PercentStacked Chart in Excel via C#

Generate high‑quality 100 % stacked area charts programmatically with Aspose.Cells for .NET – no Microsoft Excel required.

Creating a 100 % stacked area chart (Area100PercentStacked) in an Excel workbook is straightforward with Aspose.Cells for .NET. The API lets you define the data source, chart type, and formatting entirely in code – no need for Microsoft Excel or any UI interaction. This guide walks you through the required steps and provides a complete, ready‑to‑run C# example.

How to create an Area100PercentStacked chart via C#

The process consists of a few simple steps — populate worksheet data, add a chart, set its type to Area100PercentStacked, bind the data range, and finally save the workbook.

  1. Add the Aspose.Cells NuGet package to your project.
  2. Create a Workbook instance.
  3. Fill a worksheet with the data that will be plotted.
  4. Insert a Chart object and set its ChartType to ChartType.Area100PercentStacked.
  5. Define the data source for the chart (NSeries).
  6. (Optional) Apply a built‑in chart style or customize the appearance.
  7. Save the workbook in the desired format (XLSX, XLS, etc.).

System Requirements

Aspose.Cells for .NET runs on any platform that supports .NET Framework 4.5+, .NET Core 2.0+, .NET 5/6/7, Mono, Xamarin, or Azure Functions. No installation of Microsoft Office is required.

  • Install via NuGet: Install-Package Aspose.Cells or dotnet add package Aspose.Cells.
  • For offline usage, download the complete library from the Aspose.Cells .NET download page.
 

Create Area100PercentStacked Chart – C#

 
Aspose.Cells for .NET is a powerful spreadsheet API that enables developers to generate, modify, convert, render, and print Excel files without requiring Microsoft Excel. It supports all major spreadsheet formats (XLS, XLSX, XLSB, XLSM, CSV, ODS, etc.) and provides extensive charting capabilities, including Area100PercentStacked charts, line charts, pie charts, and more.

XLSX What is XLSX File Format?

XLSX is the default file format for Microsoft Excel 2007 and later. It is a zip‑based package that stores worksheet data, styles, charts, and other components as XML files conforming to the Office Open XML (OOXML) standard.

Read More