IE8 Printing issues with Jqplot

前端 未结 3 624
忘了有多久
忘了有多久 2021-01-20 05:31

I am testing jqplot with IE8. When I tried to print, the axes labels were offset. I used Andrew Bullock\'s Canvashack as a workaround.(http://blog.muonlab.com/2010/06/02/get

3条回答
  •  轻奢々
    轻奢々 (楼主)
    2021-01-20 06:01

    The solution provided by Andrew didn't work for me. Instead, I had to modify excanvac.js as per, commenting out the following lines:

    //var overlayEl = el.cloneNode(false);
    // Use a non transparent background.
    //overlayEl.style.backgroundColor = 'red';
    //overlayEl.style.filter = 'alpha(opacity=0)';
    //canvasElement.appendChild(overlayEl);
    

    In my excanvas.js file (downloaded a couple days ago from jqplot) it's on about 596 to 600.

    Hopefully this helps someone so they don't have to go through the painful process of trying to figure this out.

提交回复
热议问题