title: printing flot graph in ie 8
body: <p>I am currently using <a href="http://www.flotcharts.org/" rel="nofollow">http://www.flotcharts.org/</a> for a graphing plugin. I am trying to achieve the ability to print a flot graph off a page surrounded by content. I am trying to open up a new window and print a canvas object so I can print JUST the flot graph and I have successfully done that. However, to do, that I need to make the canvas an image so I can open it in a new window because I could not get the flot to work on a new window.</p>
  
  <pre><code>canvas.toDataURL();
  </code></pre>
  
  <p>In internet explorer 8 I get the error that there is no method toDataURL(). I believe this is because internet explorer 8 does not support the canvas tag and flot must use a workaround. So how do I print JUST the flot graph from a page in new browsers and internet explorer 8?</p>