X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fnegative.html;h=8a2ad22d0b5a460ba4c9e0b4e343f89a6e7b2eae;hb=refs%2Fheads%2Fopt-size-check;hp=890aa9ba2f55dab2123e6342c9a96a3d8554e928;hpb=bb66df31ffc04645f3227d81651574dd5d4561ae;p=dygraphs.git diff --git a/tests/negative.html b/tests/negative.html index 890aa9b..8a2ad22 100644 --- a/tests/negative.html +++ b/tests/negative.html @@ -1,13 +1,13 @@ + negatives - - - - - + + +

All negatives (x-axis on top):

@@ -29,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' ] } );