views:

86

answers:

0

So I am using the Flotr prototype extension library to draw a simple line graph.

The line graph appears fine when I'm viewing the site in the browser however when I go to print this page the print preview shifts everything off to the right, and displays some html relating to the canvas tags used to draw the graph, something like this:

<:canvs class=flotr-canvas style ... ... ...

When I visited the Flotr home page, the example graphs worked fine in print preview for me. When I downloaded the package that contains the example graphs and viewed them from my localhost, the same problem occurs with the print preview. This problem is on my windows development box, and my linux apache server.

The print preview works perfectly in Firefox, in google Chrome it displays everything where it should but the graph itself is blank. Not sure if its a related problem or a chrome problem, either way I'm not concerned with chrome compatibility at this point. Just looking for answers or direction on how to figure out why Internet Explorer 8 would have problems with printing a page.

Thanks for any help, Graham