X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fnegative.html;h=8a2ad22d0b5a460ba4c9e0b4e343f89a6e7b2eae;hb=50522d1b2b07c6034be6304b8efc5dd3d154e2db;hp=0b96e235be88b5841cd24197025aae5e825d6572;hpb=54425b14df388e9337a1d77876512bb60ba74c3b;p=dygraphs.git diff --git a/tests/negative.html b/tests/negative.html index 0b96e23..8a2ad22 100644 --- a/tests/negative.html +++ b/tests/negative.html @@ -2,13 +2,12 @@ negatives - - - - - + + +

All negatives (x-axis on top):

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