Dygraph.dateString_: shows milliseconds if any. (#774)
[dygraphs.git] / tests / unboxed-spark.html
index d838b16..2713467 100644 (file)
@@ -6,7 +6,7 @@
     For production (minified) code, use:
     <script type="text/javascript" src="dygraph-combined.js"></script>
     -->
-    <script type="text/javascript" src="../dygraph-dev.js"></script>
+    <script type="text/javascript" src="../dist/dygraph.js"></script>
 
     <script type="text/javascript" src="data.js"></script>
     <style type="text/css">
       g = new Dygraph(
             document.getElementById("div_g"),
             data, {
-              drawXAxis: show_box,
-              drawYAxis: show_box,
-              drawXGrid: show_box,
-              drawYGrid: show_box
+              axes : {
+                x : {
+                  drawGrid: show_box,
+                  drawAxis : show_box,
+                },
+                y : {
+                  drawGrid: show_box,
+                  drawAxis : show_box,
+                }
+              }
             }
           );
 
       var g2 = new Dygraph(
             document.getElementById("div_spark"),
             data, {
-              drawXAxis: false,
-              drawYAxis: false,
-              drawXGrid: false,
-              drawYGrid: false,
+              axes : {
+                x : {
+                  drawGrid: false,
+                  drawAxis : false,
+                },
+                y : {
+                  drawGrid: false,
+                  drawAxis : false,
+                }
+              },
               strokeWidth: 1.0,
               rollPeriod: 7,
               labelsDiv: '',