When possible, record the file/line number that logged an error/warning.
[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 <!--
10 For production (minified) code, use:
11 <script type="text/javascript" src="dygraph-combined.js"></script>
12 -->
13 <script type="text/javascript" src="../dygraph-dev.js"></script>
14
15 </head>
16 <body>
17 <p>CSV data with a numeric (non-date) X series.</p>
18 <div id="graph"></div>
19 <script type="text/javascript">
20 g = new Dygraph(
21 document.getElementById("graph"),
22 "X,Y\n" +
23 "1,0\n" +
24 "2,10\n" +
25 "3,0\n" +
26 "4,-10\n" +
27 "5,0\n"
28 );
29 </script>
30 </body>
31 </html>