| 1 | <!--#include virtual="header.html" --> |
| 2 | |
| 3 | <h2 id="ie">Internet Explorer Compatibility</h2> |
| 4 | |
| 5 | <p>The dygraphs library relies heavily on the HTML5 <code><canvas></code> tag, which Microsoft Internet Explorer did not traditionally support. To use Microsoft's native canvas implementation in IE9, you need to set an HTML5 doctype on your page:</p> |
| 6 | |
| 7 | <pre> |
| 8 | <!DOCTYPE html> |
| 9 | </pre> |
| 10 | |
| 11 | <p>When IE9 is in HTML5 mode, dygraphs works just like in other modern browsers.</p> |
| 12 | |
| 13 | <p>If you need to support older versions of IE, which do not have native |
| 14 | <code><canvas></code> implementations, you'll need to use the <a |
| 15 | href="/1.1.0/download.html">1.x series of dygraphs</a> and follow <a |
| 16 | href="/1.1.0/ie.html">its instructions for IE</a>. |
| 17 | </p> |
| 18 | |
| 19 | <!--#include virtual="footer.html" --> |