HTML
JPG
PDF
XML
XLSX
XLSX
Create SurfaceContour Chart in XLSX Documents via C#
Programmatically generate high‑quality SurfaceContour charts in Microsoft Excel XLSX workbooks using Aspose.Cells for .NET.
Generating a Microsoft Excel XLSX file that contains a SurfaceContour chart is straightforward with Aspose.Cells for .NET. The library enables you to build, populate, and visualize spreadsheet data without requiring Microsoft Office on the server. This article demonstrates how to create a SurfaceContour chart programmatically and save the workbook.
How to create a SurfaceContour chart in XLSX via C#
Follow these steps to add a SurfaceContour chart to a workbook:
- Add the Aspose.Cells namespace to your project.
- Create a new Workbook instance (or load an existing one).
- Populate the worksheet with data that will be visualized.
- Insert a chart of type ChartType.SurfaceContour.
- Set the data range, chart title, and optional formatting.
- Save the workbook as an XLSX file.
System Requirements
Aspose.Cells for .NET works on any platform that supports .NET Framework, .NET Core, .NET 5/6/7, Mono, Xamarin, or Windows Azure. Use Visual Studio, Visual Studio Code, or any other .NET‑compatible IDE.
- Install via NuGet:
<code>nuget install Aspose.Cells</code>or<code>Install-Package Aspose.Cells</code>in the Package Manager Console. - Or download the offline MSI/ZIP package from the Aspose.Cells .NET download page.
Create SurfaceContour Chart – C#
Aspose.Cells is a powerful cross‑platform .NET library that enables developers to create, modify, convert, render, and print Excel spreadsheets in a variety of formats. In addition to chart creation, the API supports data validation, pivot tables, formulas, and much more—making it ideal for server‑side reporting and data‑analysis solutions.
XLSX What is XLSX File Format?
XLSX is the default file format for Microsoft Excel workbooks introduced with Office 2007. It follows the Open Packaging Conventions (OPC) and stores workbook data, styles, and embedded objects as XML parts inside a ZIP container. Aspose.Cells works directly with this format without requiring Microsoft Office to be installed.
Read More