X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fnegative.html;h=68103b6c9c40e908e83659f009110764fab6f242;hb=59ee387ba6d5113ceedba2b16b1c0c53ddfa072c;hp=0a341dc0b5cee5973014244cec9c61042313ab10;hpb=a2b2c3a13b968bf10c9dbea58683b0f51011b547;p=dygraphs.git diff --git a/tests/negative.html b/tests/negative.html index 0a341dc..68103b6 100644 --- a/tests/negative.html +++ b/tests/negative.html @@ -1,13 +1,10 @@ + + negatives - - - - - + +

All negatives (x-axis on top):

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