Chart and graphs

巧了我就是萌 提交于 2019-12-01 07:25:29

问题


I am using iTextSharp version 4.1.2 and cannot update to newer version because iText changed their licence agreement. I am very satisfied with this version and it's working fine for me.

I can't find anywhere how to produce pie or bar or columns graphs and charts with that version and looks like all documentation over the internet been removed. If you are using older version and by the chance you have documentation can you please share or point me to the source, or explain how?


回答1:


iText doesn't have built-in support for charts or graphs. Instead you are encouraged to use a 3rd-party library to generate these and then add them as either graphics or PDFs.

Another option as outlined in this post is to use the iTextSharpExtensions. Please note that although it has the word "iText" in it is in no way endorsed by the makers of iText.

Also, as a quick side note, please read FAQ, specifically the "Why shouldn't I use iText 2.x (or iTextSharp 4.x)?" explaining some of the myths of the license of the version you are using.



来源:https://stackoverflow.com/questions/20372118/chart-and-graphs

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!