fix plotter demo
authorDan Vanderkam <dan@dygraphs.com>
Wed, 25 Jul 2012 21:49:24 +0000 (17:49 -0400)
committerDan Vanderkam <dan@dygraphs.com>
Wed, 25 Jul 2012 21:49:24 +0000 (17:49 -0400)
tests/plotter.html

index 414197a..c2f0b81 100644 (file)
@@ -42,7 +42,7 @@
         if (data[0].length == 2) {
           labels.push('Y');
         } else {
-          for (var i = 0; i < data[0].length; i++) {
+          for (var i = 1; i < data[0].length; i++) {
             labels.push('Y' + (1 + i));
           }
         }