X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fnegative.html;h=e3baf20dd1788576d35b9fcef3b7b0cfff230769;hb=cf61aeb77cda5e2638b1f00588dcd90394afd24c;hp=70d597103778555571f2ebfa72f03f781faaf796;hpb=dea29a4d4be3876830153021ed8825745dfcead9;p=dygraphs.git diff --git a/tests/negative.html b/tests/negative.html index 70d5971..e3baf20 100644 --- a/tests/negative.html +++ b/tests/negative.html @@ -1,15 +1,14 @@ - + negatives - - - - - + + +

All negatives (x-axis on top):

@@ -31,17 +30,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' ] } );