Stop including dygraph-combined.js in tests
[dygraphs.git] / tests / small-range-zero.html
CommitLineData
d053ab5a
DV
1<html>
2 <head>
3 <title>no range</title>
4 <!--[if IE]>
5 <script type="text/javascript" src="excanvas.js"></script>
6 <![endif]-->
d37dca40
DV
7 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
8 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
d053ab5a
DV
9 <script type="text/javascript" src="../dygraph-canvas.js"></script>
10 <script type="text/javascript" src="../dygraph.js"></script>
11 </head>
12 <body>
13 <p>There should be an appropriate amount of padding at the top of the chart:</p>
14 <div id="blah"></div>
15
16 <script type="text/javascript">
17 function CSV() {
18 var label = "X";
19
20 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";
21 }
22
23 new Dygraph(document.getElementById("blah"),
24 CSV,
25 {
26 width: 640,
27 height: 480,
28 includeZero: true
29 });
30
31 </script>
32 </body>
33</html>