Reputation: 1154
I am using the renderer when exporting to try and add a logo to the graph, it generates perfectly when i export to SVG but if i try png/jpeg/pdf i get a completely blank image (absolutely nothing appears). If i use any other type of renderer such as text or shapes everything works perfectly, it is JUST with the renderer of an image therefore i believe it has to do with the conversion that takes place. Any suggestions or help would be greatly appreciated.
I am using the following plug-ins: - export-csv (to allow CSV and XLS) - jspdf (enable PDF option) - jspdf.plugin.addimage (to allow image to be created in PDF) - canvas-tools ( to draw images as PNG, JPEG, SVG) - highcharts-export-clientside (to remove server dependency)
Upvotes: 1
Views: 1122
Reputation: 11
To Export High charts to png You can use Html2Canvas library, which can take a screenshot of your high charts and generate a PNG Image. using Html2Canvas its not possible then you can use CANVG library,which is convert your svg element to PNG Image.
Upvotes: 1