Fix errors/warnings in tests/*.html
[dygraphs.git] / tests / labelsKMB.html
index 662cc86..3b44160 100644 (file)
       });
       var g3 = new Dygraph(document.getElementById("labelsKMG2yValueFormatter"), data, {
         labelsKMG2: true,
-        yValueFormatter: formatValue,
+        axes: {
+          y: {
+            valueFormatter: formatValue
+          }
+        },
         labels: ['Base', 'Power']
       });