Home › forums › Using CanvasJS › export several charts to pdf
This topic contains 4 replies, has 2 voices, and was last updated by Daniel Silva 4 years, 3 months ago.
I was asked to export the reports to pdf and my initial idea was to use PhantomJS, but it has a problem with low DPI and all images are blurry.
Just found jsPDF and it look’s great but the process is more manual.
Anyone has other ideas?
jsPDF seems like the best option according to us. May I know what you mean by process is more manual?
Is not possible to export the html and canvas keeping the styling.
I have to convert the charts using toDataURL, and try to replicate the size,position.
Also the image resolution on the pdf is very low, they get very blurry.
In case you are going to use toDataUrl, then I just want to let you know that you need to convert first canvas element present inside the container.
I noticed that :)
You must be logged in to reply to this topic.