From: Dan Vanderkam Date: Wed, 25 Jul 2012 21:49:24 +0000 (-0400) Subject: fix plotter demo X-Git-Tag: v1.0.0~211 X-Git-Url: https://adrianiainlam.tk/git/?a=commitdiff_plain;h=6f8f19efb497197dc136647de353368581131634;p=dygraphs.git fix plotter demo --- diff --git a/tests/plotter.html b/tests/plotter.html index 414197a..c2f0b81 100644 --- a/tests/plotter.html +++ b/tests/plotter.html @@ -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)); } }