use dygraphs to plot perf vs. iteration
[dygraphs.git] / tests / grid_dot.html
index 789b7aa..2f01242 100644 (file)
@@ -5,28 +5,24 @@
     <script type="text/javascript" src="excanvas.js"></script>
     <![endif]-->
     <script type="text/javascript" src="../dygraph-combined.js"></script>
+    <script type="text/javascript" src="../dygraph-canvas.js"></script>
     <script type="text/javascript" src="../dygraph.js"></script>
     <script type="text/javascript" src="data.js"></script>
   </head>
+
   <body>
     <p>Dot and lines should be extra large. Grid is red.</p>
     <div id="g14" style="width:600px; height:300px;"></div>
 
     <script type="text/javascript">
-      g14 = new DateGraph(
+      g14 = new Dygraph(
             document.getElementById("g14"),
-            NoisyData, null, {
+            NoisyData, {
               rollPeriod: 14,
               errorBars: true,
-              gridLineColor: MochiKit.Color.Color.redColor(),
+              gridLineColor: '#FF0000',
               highlightCircleSize: 10,
-              strokeWidth: 3,
-              padding: {
-                left: 40,
-                top: 0,
-                right: 10,
-                bottom: 10
-              }
+              strokeWidth: 3
             }
           );
     </script>