Fixed attribute name typo in legend follow (#792)
[dygraphs.git] / tests / two-axes.html
index f583263..fa187c6 100644 (file)
@@ -1,6 +1,7 @@
 <!DOCTYPE html>
 <html>
   <head>
+    <link rel="stylesheet" href="../css/dygraph.css">
     <title>Multiple y-axes</title>
     <!--
     For production (minified) code, use:
@@ -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
           }
       );