Wednesday, 15 September 2010

javascript - Exporting Highchart to data:image/jpeg -


I have searched the information everywhere but I do not know anything about it.

I would like to make a report in PDF on some charts in my chart. I am going to use JSPDF to create a PDF. But to keep images on that PDF, I need images' data: image / jpeg; Base64 'in this example:

But I have' Data: image / jpeg 'to Highchurch. I know that the hierarch can be exported to JPG or PNG, but the image has been downloaded. I do not want to download it, I need that image in the data format. Please please then the following is mentioned on the link you have specified:

  // You will need to create your image in the data url // http://dataurl.net/Dataurlmaker/   

to change jpg or png in the data code Use the above link.

No comments:

Post a Comment