X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fnegative.html;h=689629c31cf139ae27576425e9834097380dc3dc;hb=83008f0ac1a69feb8a23d489cd706b464e69646b;hp=1a25d60d821df16958b551211e0e3e80f6163d90;hpb=3be790157c669012e4dd0733b80ad84ad78c200d;p=dygraphs.git diff --git a/tests/negative.html b/tests/negative.html index 1a25d60..689629c 100644 --- a/tests/negative.html +++ b/tests/negative.html @@ -1,12 +1,13 @@ + negatives - - - - + + +

All negatives (x-axis on top):

@@ -28,17 +29,17 @@ pos.push([i, 1000 + 2 * i, 1100 + i]); } - new Dygraph( + var g1 = new Dygraph( document.getElementById("g1"), negs, { labels: [ 'x', 'y1', 'y2' ] } ); - new Dygraph( + var g2 = new Dygraph( document.getElementById("g2"), mixed, { labels: [ 'x', 'y1', 'y2' ] } ); - new Dygraph( + var g3 = new Dygraph( document.getElementById("g3"), pos, { labels: [ 'x', 'y1', 'y2' ] } );