Home » excel » c# – generate excel with chart from .NET

c# – generate excel with chart from .NET

Posted by: admin April 23, 2020 Leave a comment

Questions:

I have a WPF application and I need to generate an excel file that also contains charts? What is the best way of doing that? If possible, I want to avoid using the excel interop.
Thx,
L

How to&Answers:

Look at this http://epplus.codeplex.com/wikipage?title=StatisticsSheetExample

Answer:

I just found http://epplus.codeplex.com. Think I’m going to give it a try, it supports charts.

Answer:

OfficeWriter is another mature .NET library for Excel that supports adding charts:

http://www.officewriter.com