5 <script type=
"text/javascript" src=
"../dygraph-dev.js"></script>
7 /* Changing 'body' -
> 'html, body' triggers a bug */
18 <p>Mouseovers should work as expected (dots should align with mouse)
</p>
19 <div id=
"demodiv"></div>
21 <script type=
"text/javascript">
23 var zp = function(x) { if (x <
10) return
"0"+x; else return x; };
24 var r =
"date,parabola,line,another line,sine wave\n";
25 for (var i=
1; i<=
31; i++) {
26 r +=
"200610" + zp(i);
27 r +=
"," +
10*(i*(
31-i));
29 r +=
"," +
10*(
250 -
8*i);
30 r +=
"," +
10*(
125 +
125 * Math.sin(
0.3*i));
37 document.getElementById(
"demodiv"),
47 <div class=
"container">
48 <div id=
"chart2"></div>
51 <script type=
"text/javascript">
53 document.getElementById(
"chart2"),