7
I am currently working with Highcharts, a javascript library that generates graphics. It has an export component, but only exports the chart itself, still need to assemble the PDF layout.
For the export it goes to the highcharts server.com which is not the most suitable also because maybe the application needs to run offline.
Does anyone have experience in exporting SVG with HTML? Do you have any component tips to help with this work, preferably offline?
I didn’t think it was necessary to post code in this post, but it would help any example code or external reference.
Requesting links will not help your question. As we are a question and answer platform. The link is just not considered an answer. And the question encourages this. It needs to do the opposite, encourage true answers that are not just link.
– Maniero
I get @bigown. I agree with you. I suggested the links thinking it would facilitate an answer. For me the best thing would be to post an example of code and some reference, but I thought it was too much to ask.
– Joao Paulo
I deleted my answer because rereading I think it’s not quite what you want to know (if you haven’t read it, I would suggest letting the browser generate an image using a canvas, the export functions of highcharts, and an external library). I think the question is still a little confusing. Do you want to do the whole process on the server side, or do you want a browser involved? Highcharts allows both options (and, in the case of using a browser, allows you to use your own server instead of highcharts.com).
– bfavaretto
Have you tried this? https://www.nuget.org/packages/RazorPDF/
– Leonel Sanches da Silva