mattosaurus / ChartJSCore

Implementation of Chart.js for use with .NET Core.
GNU General Public License v3.0
116 stars 34 forks source link

Export to PDF #62

Closed mayureshs closed 4 years ago

mayureshs commented 4 years ago

Is there any way I can export the chart object into a PDF as an image ?

mattosaurus commented 4 years ago

Hi, not directly using this library but there are libraries such as PDFsharp that you can use to render HTML and export that to a PDF so you might be able to use that.

mayureshs commented 4 years ago

Thanks for the response. Is there anyway I can create graph and add it to pdf server side without rendering HTML.

mattosaurus commented 4 years ago

No, sorry. All this library does is generate the javascript required for the chart.js plugin to actually render the graph, the rendering is all done in the browser by chart.js.

mayureshs commented 4 years ago

Thank you. Closing the issue, if possible do consider it as a feature request.