Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

creating chart in an excel spreadsheet using NPOI

I know that my question will be very similar to other ones already asked on SO but as I can't find a satisfying answer, I try my luck !

Does so know whether it's possible or not to generate charts in an Excel spreadsheet using the NPOI library.

I have read that blog but it gives an example where there is already an existing template. Isn't it possible "from scratch" ?

like image 713
pierroz Avatar asked Mar 05 '10 10:03

pierroz


2 Answers

After more investigation I got my answer here: http://npoi.codeplex.com/releases/view/19351

Unsupported Features: Excel Chart

so as explained by Leniel in his blog, we need to use a primary spreadsheet as a template.

Thanks a lot Leniel ! :)

like image 125
pierroz Avatar answered Sep 22 '22 14:09

pierroz


Another solution to create chart without automation is to use third party components,for example this one SmartXLS for .Net,it can create chart/pivottable from scratch.

like image 28
liya Avatar answered Sep 19 '22 14:09

liya