html2canvas中图表的双重标题

时间:2017-05-19 08:26:25

标签: javascript highcharts html2canvas

Html2canvas真的很酷但是:

enter image description here

该功能简单":

$scope.generateScreenshot = function () {
    html2canvas($("#screen-shot"), {
        onrendered: function(canvas) {
            // canvas is the final rendered <canvas> element
            var myImage = canvas.toDataURL("image/png");
            window.open(myImage);
        }
    });
}

为什么渲染标题存在问题?

0 个答案:

没有答案