X-Git-Url: https://adrianiainlam.tk/git/?a=blobdiff_plain;f=tests%2Fsmall-range-zero.html;h=4f8bf8cb2e35aba4a14ba18c631b9d84fc5546ca;hb=0bc4cb546af5d1ce157ad701a45169cc07c9c839;hp=3226625507bfce89c64d0e71bd7aa8c6499a70e7;hpb=d053ab5a1f2a48d598857724f7d571fd6df36e20;p=dygraphs.git diff --git a/tests/small-range-zero.html b/tests/small-range-zero.html index 3226625..4f8bf8c 100644 --- a/tests/small-range-zero.html +++ b/tests/small-range-zero.html @@ -1,12 +1,14 @@ + + no range - - - - + + +

There should be an appropriate amount of padding at the top of the chart:

@@ -19,7 +21,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, @@ -28,5 +30,31 @@ }); + +

The second series (which is entirely zero) should be visible, and the + y-axis should go down to zero.

+
+