Merge branch 'master' of git://github.com/danvk/dygraphs
[dygraphs.git] / tests / dynamic-update.html
index 38328ea..8ef2981 100644 (file)
@@ -4,13 +4,14 @@
     <!--[if IE]>
     <script type="text/javascript" src="excanvas.js"></script>
     <![endif]-->
-    <script type="text/javascript" src="../dygraph-combined.js"></script>
+    <script type="text/javascript" src="../strftime/strftime-min.js"></script>
+    <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
     <script type="text/javascript" src="../dygraph-canvas.js"></script>
     <script type="text/javascript" src="../dygraph.js"></script>
   </head>
   <body>
-    <div id="div_g" style="width:600px; height:300px;"></div>
-    <div id="status"></div>
+    <h3 style="width:800px; text-align: center;">Live random data</h3>
+    <div id="div_g" style="width:800px; height:400px;"></div>
 
     <script type="text/javascript">
       var data = [];
       }, 1000);
 
     </script>
+
+    <p>This test is modeled after a <a
+      href="http://www.highcharts.com/demo/?example=dynamic-update&theme=default">highcharts
+      test</a>. New points should appear once per second. Try zooming and
+    panning over to the right edge to watch them show up.</p>
   </body>
 </html>