jquery - Export to Pdf and Export to Image for Kendo Charts not working in IE9/Safari -


// using chart id export pdf kendo charts , it's working fine // on chrome , firefox it's not working ie9 , safari // button click export pdf

<button class="k-button export-button bar-control" id="export-pdf-button-onedimension" data-toggle="tooltip" data-placement="bottom" title="export pdf" onclick="exportcharttopdf('chart1');"></button> 

// function passing chartid exporting pdf

function exportcharttopdf(chartid) {     $("#" + chartid).getkendochart().exportpdf({ papersize: "auto", margin: { left: "1cm", top: "1cm", right: "1cm", bottom: "1cm" } }).done(function (data) {         kendo.saveas({             datauri: data,             filename: "chart.pdf"         });     }); } 


Comments

Popular posts from this blog

Fail to load namespace Spring Security http://www.springframework.org/security/tags -

sql - MySQL query optimization using coalesce -

unity3d - Unity local avoidance in user created world -