4 <meta http-equiv=
"X-UA-Compatible" content=
"IE=EmulateIE7; IE=EmulateIE9">
7 <script type=
"text/javascript" src=
"../excanvas.js"></script>
9 <script type=
"text/javascript" src=
"../dygraph-dev.js"></script>
11 /* Changing 'body' -
> 'html, body' triggers a bug */
22 <p>Mouseovers should work as expected (dots should align with mouse)
</p>
23 <div id=
"demodiv"></div>
25 <script type=
"text/javascript">
27 var zp = function(x) { if (x <
10) return
"0"+x; else return x; };
28 var r =
"date,parabola,line,another line,sine wave\n";
29 for (var i=
1; i<=
31; i++) {
30 r +=
"200610" + zp(i);
31 r +=
"," +
10*(i*(
31-i));
33 r +=
"," +
10*(
250 -
8*i);
34 r +=
"," +
10*(
125 +
125 * Math.sin(
0.3*i));
41 document.getElementById(
"demodiv"),
51 <div class=
"container">
52 <div id=
"chart2"></div>
55 <script type=
"text/javascript">
57 document.getElementById(
"chart2"),