如何将高图图形导出为PDF,包括自定义HTML表格? [英] How to export highchart graph to PDF including custom HTML table ?
本文介绍了如何将高图图形导出为PDF,包括自定义HTML表格?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要一个开源库,通过它我可以将HighChart导出为PDF,
我尝试了各种库,但他们无法导出HighChart图。
注意 - HighChart确实提供了导出功能,但我想在PDF中添加一些额外的HTML内容,但据我所知,使用HighChart内置导出功能是不可能的。
我尝试了什么:
尝试过HighChart内置功能,但我认为这不支持添加自定义HTML。
I need an open source library through which i Can export HighChart to PDF,
I tried various library but they are not able to export HighChart graph .
Note - HighChart do provide export functionality but I want to add some extra HTML content to PDF, but as far as i know its not possible using HighChart inbuilt export functionality.
What I have tried:
Tried HighChart inbuilt functionality but I think that does not support adding custom HTML.
推荐答案
尝试一下,看起来很有希望。
将Highcharts导出为PDF(使用javascript和本地服务器 - 无互联网连接) - Stack溢出 [ ^ ]
创建PDF后,您可以对其进行操作使用itextsharp / pdfsharp / c#中的任何pdf库,您可以选择将所需的其他项目添加到pdf中。
Give this a try, it looks promising.
Export Highcharts to PDF (using javascript and local server - no internet connection) - Stack Overflow[^]
Once you've created the PDF you can then manipulate it using itextsharp/pdfsharp/whatever pdf library in c# that you choose to add the additional items you need to the pdf.
这篇关于如何将高图图形导出为PDF,包括自定义HTML表格?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文