Merge pull request #206 from kberg/master
[dygraphs.git] / tests / two-axes.html
index 834fd2f..3f40b07 100644 (file)
                 // set axis-related properties here
                 labelsKMB: true
               }
-            }
+            },
+            ylabel: 'Primary y-axis',
+            y2label: 'Secondary y-axis',
+            yAxisLabelWidth: 60
           }
       );
 
@@ -62,7 +65,9 @@
           data,
           {
             labels: [ 'Date', 'Y1', 'Y2', 'Y3', 'Y4' ],
-            labelsKMB: true
+            labelsKMB: true,
+            ylabel: 'Primary y-axis',
+            y2label: 'Secondary y-axis',
           }
       );