使用itextsharp将jquery highchart导出为pdf [英] Export jquery highchart to pdf using itextsharp
本文介绍了使用itextsharp将jquery highchart导出为pdf的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想将使用jquery创建的图表导出为pdf.I使用了itextsharp.dll进行导出,但我无法将jquery图表导出为pdf.please帮助我
我尝试了什么:
我找不到合适的解决方案。我只是在谷歌搜索
解决方案
为什么不使用Highcharts的内置PDF功能,你会在右上角看到一个允许导出的按钮。
你需要添加以下行:
< script src =http://code.highcharts.com/modules/exporting.jstype =text / javascript>< /脚本>
I Want to export chart created using jquery to pdf.I used itextsharp.dll for exporting but i could not export jquery chart to pdf.please help me
What I have tried:
I cant found proper solution.I just search in Google
解决方案
Why don't you just use the built in PDF function of Highcharts, you will see a button on the top right allowing export.
You will need to add the following line:
<script src="http://code.highcharts.com/modules/exporting.js" type="text/javascript"></script>
这篇关于使用itextsharp将jquery highchart导出为pdf的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文