yWorks / svg2pdf.js

A javascript-only SVG to PDF conversion utility that runs in the browser. Brought to you by yWorks - the diagramming experts
MIT License
667 stars 104 forks source link

Getting error with Angular and Highcharts #35

Closed vikasnawal closed 6 years ago

vikasnawal commented 6 years ago

Hi Team,

Thanks for this great library.

I have use this libray to export svg on PDF but i am getting an error :+1:

d.saveGraphicsState is not a funtion. Could you please help me out to fix this issue ?

why this error is coming. i have included two dependency ibray jspdf and svg2pdf .

Thanks,

vikasnawal commented 6 years ago

Hi,

I got the issue.I have linked diffrent jsPDF library in which above function does not exist. I have replaced my jspdf library to other one which you provided on github.

Thanks