X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fnegative.html;h=8a2ad22d0b5a460ba4c9e0b4e343f89a6e7b2eae;hb=056763ed22ccc5bdebc73355841052d0d6815a1f;hp=70d597103778555571f2ebfa72f03f781faaf796;hpb=10494b48b43d9ca8710d441d3c530c7d546f3edf;p=dygraphs.git diff --git a/tests/negative.html b/tests/negative.html index 70d5971..8a2ad22 100644 --- a/tests/negative.html +++ b/tests/negative.html @@ -1,15 +1,13 @@ - negatives - - - - - + + +

All negatives (x-axis on top):

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