5 <script type=
"text/javascript" src=
"../dygraph-dev.js"></script>
9 <font size=-
1>(Mouse over to highlight individual values. Click and drag to zoom. Double-click to zoom out.)
</font><br/>
11 <div id=
"demodiv"></div>
13 <div id=
"status" style=
"width:200px; font-size:0.8em; padding-top:5px;"></div>
16 <script type=
"text/javascript">
18 document.getElementById(
"demodiv"),
20 var zp = function(x) { if (x <
10) return
"0"+x; else return x; };
21 var r =
"date,parabola,line,another line,sine wave\n";
22 for (var i=
1; i<=
31; i++) {
23 r +=
"200610" + zp(i);
24 r +=
"," +
10*(i*(
31-i));
26 r +=
"," +
10*(
250 -
8*i);
27 r +=
"," +
10*(
125 +
125 * Math.sin(
0.3*i));
33 labelsDiv: document.getElementById('status'),
34 labelsSeparateLines: true,
37 colors: [
"rgb(51,204,204)",
40 "rgba(50,50,200,0.4)"],
43 title: 'Interesting Shapes',
46 axisLineColor: 'white'