Kill all the IE/excanvas hacks
[dygraphs.git] / tests / highlighted-region.html
index 0f14973..47e4db5 100644 (file)
@@ -1,11 +1,7 @@
 <!DOCTYPE html>
 <html>
   <head>
-    <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
     <title>Highlighted Region</title>
-    <!--[if IE]>
-    <script type="text/javascript" src="../excanvas.js"></script>
-    <![endif]-->
     <!--
     For production (minified) code, use:
     <script type="text/javascript" src="dygraph-combined.js"></script>
       }
 
 
-      new Dygraph(
+      var g = new Dygraph(
           document.getElementById("div_g"),
           data,
           {
             labels: ['X', 'Est.', 'Actual'],
+            animatedZooms: true,
             underlayCallback: function(canvas, area, g) {
               var bottom_left = g.toDomCoords(highlight_start, -20);
               var top_right = g.toDomCoords(highlight_end, +20);