问题描述:

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);
相关阅读:
Top