Fixed attribute name typo in legend follow (#792)
[dygraphs.git] / tests / two-axes.html
index 06522ea..fa187c6 100644 (file)
@@ -1,12 +1,13 @@
 <!DOCTYPE html>
 <html>
   <head>
+    <link rel="stylesheet" href="../css/dygraph.css">
     <title>Multiple y-axes</title>
     <!--
     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>
 
   </head>
   <body>
@@ -53,6 +54,9 @@
               },
             },
             axes: {
+              y: {
+                axisLabelWidth: 60
+              },
               y2: {
                 // set axis-related properties here
                 labelsKMB: true
@@ -60,7 +64,6 @@
             },
             ylabel: 'Primary y-axis',
             y2label: 'Secondary y-axis',
-            yAxisLabelWidth: 60
           }
       );