update spacing test to set pixelsPerYLabel
[dygraphs.git] / tests / spacing.html
index ca84bb1..8113d21 100644 (file)
@@ -10,7 +10,7 @@
   </head>
   <body>
     <p>Wide</p>
-    <div id="g" style="width:600px; height:300px;"></div>
+    <div id="g" style="width:800px; height:300px;"></div>
 
     <p>Narrow</p>
     <div id="g2" style="width:300px; height:200px;"></div>
       g = new DateGraph(
             document.getElementById("g"),
             data, null, {
-              rollPeriod: 7
+              rollPeriod: 7,
+              pixelsPerYLabel: 20
             }
           );
       g2 = new DateGraph(
             document.getElementById("g2"),
             data, null, {
               rollPeriod: 7,
+              pixelsPerYLabel: 20
             }
           );
     </script>