X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fnegative.html;h=2f4cf8eddd28b8c052e9ebdc690f93290a9d60bc;hb=86d724e52a93d4e75fdffdaa538b4f401e8fd3e6;hp=70d597103778555571f2ebfa72f03f781faaf796;hpb=44f29e932dcbe83c1bfaebb8735579392e27a5df;p=dygraphs.git diff --git a/tests/negative.html b/tests/negative.html index 70d5971..2f4cf8e 100644 --- a/tests/negative.html +++ b/tests/negative.html @@ -6,10 +6,12 @@ - - - - + + +
All negatives (x-axis on top):
@@ -31,17 +33,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' ] } );