当前位置: 动力学知识库 > 问答 > 编程问答 >

jqPlot IE8 Printing Issue

问题描述:

I am using jqPlot and all seems to work well even with IE8 using excanvas.js. When I preview the page for printing all looks good, but when I print the page, the legend shows but the charts do not. If I export the page to Adobe PDF, an area for the chart is there and the chart is visible at times until you scroll over it then it is hidden.

Any help is much appreciated.

网友答案:

It cal be solved by using the jquery after the jqplot has been drawn

$('.jqplot-point-label').append('%');
    var imgData = $('#displaysection').jqplotToImageStr({});
    var imgElem = $('<img/>').attr('src',imgData);
    $('#displaysection').append(imgElem);
分享给朋友:
您可能感兴趣的文章:
随机阅读: