Merge branch 'master' of https://github.com/kberg/dygraphs
[dygraphs.git] / tests / csv-numeric-x.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
5 <title>CSV with numeric X series</title>
6 <!--[if IE]>
7 <script type="text/javascript" src="../excanvas.js"></script>
8 <![endif]-->
9 <script type="text/javascript" src="../strftime/strftime-min.js"></script>
10 <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script>
11 <script type="text/javascript" src="../dygraph-canvas.js"></script>
12 <script type="text/javascript" src="../dygraph.js"></script>
13 </head>
14 <body>
15 <p>CSV data with a numeric (non-date) X series.</p>
16 <div id="graph"></div>
17 <script type="text/javascript">
18 new Dygraph(
19 document.getElementById("graph"),
20 "X,Y\n" +
21 "1,0\n" +
22 "2,10\n" +
23 "3,0\n" +
24 "4,-10\n" +
25 "5,0\n"
26 );
27 </script>
28 </body>
29 </html>