i' m developing c3 chart website. i'm trying download c3 svg chart pdf. did there problem in pdf, i'm getting axis value double. in website coming in single in pdf coming double. please i'm sharing code , screen shots . if knows please have once.
$(function () { var doc = new jspdf(); $('#mdt').click(function () { canvg('canvas', $("#chart05").html().trim()); var img = canvas.todataurl("image/png"); doc.addimage(img, 'png', 15, 40, 180, 60); doc.save('sample.pdf'); }); }); <canvas id="canvas3" style="display: none"></canvas>
screen shot
Comments
Post a Comment