X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;ds=sidebyside;f=tests%2Fsmall-range-zero.html;h=a6492dc26120d0eb94f5411e86b7d66a7d8c8976;hb=86d724e52a93d4e75fdffdaa538b4f401e8fd3e6;hp=54ae28b0ff9cdfb9375952c9aa97ec530ec2c1bb;hpb=bb66df31ffc04645f3227d81651574dd5d4561ae;p=dygraphs.git diff --git a/tests/small-range-zero.html b/tests/small-range-zero.html index 54ae28b..a6492dc 100644 --- a/tests/small-range-zero.html +++ b/tests/small-range-zero.html @@ -1,13 +1,17 @@ +
+There should be an appropriate amount of padding at the top of the chart:
@@ -20,7 +24,7 @@ return "date," + label + "\n20091206,2659329.631743\n20091213,2772361.123362\n20091220,2737584.647191\n20091227,2720000.550414\n20100103,2910306.897977\n20100110,2901385.313093\n20100117,2903041.312099\n20100124,2966455.128911\n"; } - new Dygraph(document.getElementById("blah"), + var g1 = new Dygraph(document.getElementById("blah"), CSV, { width: 640, @@ -29,5 +33,31 @@ }); + +The second series (which is entirely zero) should be visible, and the + y-axis should go down to zero.
+ +