Merge branch 'master' of https://github.com/kberg/dygraphs
[dygraphs.git] / tests / csv-numeric-x.html
CommitLineData
54425b14 1<!DOCTYPE html>
e9d78bac
BW
2<html>
3 <head>
10494b48 4 <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9">
e9d78bac
BW
5 <title>CSV with numeric X series</title>
6 <!--[if IE]>
7 <script type="text/javascript" src="../excanvas.js"></script>
8 <![endif]-->
7e5ddc94
DV
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
e9d78bac
BW
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">
2e1fcf1a 20 g = new Dygraph(
e9d78bac
BW
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>