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