Visualizing data with a ConicalBar chart can make trends and comparisons stand out in a unique three‑dimensional style. In this article you will learn how to generate a ConicalBar chart in an Excel worksheet using Aspose.Cells for .NET and C#. The guide includes a complete, ready‑to‑run code sample, explanations of each step, and tips for further customization.
This article covers the following topics:
- C# Excel Library to Create ConicalBar Charts
- Create a ConicalBar Chart in Excel using C#
- Free Resources
- Other Topics
C# Excel Library to Create ConicalBar Charts
Aspose.Cells for .NET is a powerful Excel automation library that enables developers to create, modify, and render Excel files programmatically without needing Microsoft Office. It offers full support for all modern chart types, including the ConicalBar chart.
Key advantages of using Aspose.Cells:
- Rich API – Access every Excel feature from cells to advanced chart types.
- High Performance – Process large workbooks quickly and with low memory overhead.
- No COM Interop – Works on any platform that supports .NET (including Linux and Docker).
- Multiple Output Formats – Save to XLSX, XLS, CSV, PDF, HTML, images, etc.
Get started in three easy steps:
- Download the library from the official releases page.
- Install via NuGet:
PM> Install-Package Aspose.Cells - Reference Add a reference to
Aspose.Cellsin your C# project.
Create a ConicalBar Chart in Excel using C#
Below is a complete, runnable example that:
- Creates a new workbook.
- Inserts sample sales data.
- Adds a ConicalBar chart.
- Customizes titles, axes, and series formatting.
- Saves the workbook to an XLSX file.
Explanation of Key Steps
| Step | Purpose |
|---|---|
| 2 | Instantiates a new Workbook and selects the first Worksheet. |
| 3 | Fills the worksheet with a header row and sample quarterly sales figures. |
| 4 | Adds a ConicalBar chart to the sheet. The chart occupies rows 6‑25 and columns 0‑10. |
| 5‑6 | Creates two data series – one for each product – and links them to the corresponding cell ranges. |
| 7 | Sets the category (X‑axis) labels using the quarter names. |
| 8 | Demonstrates optional customizations: axis titles, number format, and series colors. |
| 9 | Saves the workbook as an XLSX file that can be opened in Excel, Google Sheets, or any compatible viewer. |
Get a Free License
Aspose.Cells requires a license for production use, but you can obtain a temporary free license to evaluate all features without restrictions. Visit the temporary license page to generate a license file and follow the quick integration guide.
ConicalBar Chart Excel: Free Resources
- Developer’s Guide – https://docs.aspose.com/cells/net/
- Online Applications – https://products.aspose.app/cells/family
- API Reference – https://reference.aspose.com/cells/net/
- How‑to Articles – https://blog.aspose.com/categories/aspose.cells-product-family/
Conclusion
In this guide you learned how to create and customize a ConicalBar chart using Aspose.Cells for .NET. The library abstracts the complexity of Excel chart creation, enabling you to generate professional‑looking visualizations with just a few lines of C# code. Feel free to experiment with additional formatting options—such as markers, data labels, or secondary axes—to fit your reporting needs.
If you have any questions or need further assistance, visit our free support forum.