3 <title>fillGraph
</title>
5 <script type=
"text/javascript" src=
"excanvas.js"></script>
7 <script type=
"text/javascript" src=
"../strftime/strftime-min.js"></script>
8 <script type=
"text/javascript" src=
"../rgbcolor/rgbcolor.js"></script>
9 <script type=
"text/javascript" src=
"../dygraph-canvas.js"></script>
10 <script type=
"text/javascript" src=
"../dygraph.js"></script>
13 <p>Filled, no error bars:
</p>
14 <div id=
"div_g" style=
"width:600px; height:300px;"></div>
16 <p>Filled, negatives:
</p>
17 <div id=
"div_g2" style=
"width:600px; height:300px;"></div>
19 <p>Filled, error bars:
</p>
20 <div id=
"div_g3" style=
"width:600px; height:300px;"></div>
22 <script type=
"text/javascript">
24 document.getElementById(
"div_g"),
26 var ret =
"X,Y1,Y2\n";
27 for (var i =
0; i <
100; i++) {
28 ret += i +
"," + i +
"," + (i * (
100-i) *
100/(
50*
50)) +
"\n";
36 document.getElementById(
"div_g2"),
38 var ret =
"X,Y1,Y2\n";
39 for (var i =
0; i <
100; i++) {
40 ret += i +
"," + (i -
50) +
41 "," + (
50 - i * (
100-i) *
100/(
50*
50)) +
"\n";
49 document.getElementById(
"div_g3"),
51 var ret =
"X,Y1,Y2\n";
52 for (var i =
0; i <
100; i++) {
53 ret += i +
"," + i +
",10," +
54 (i * (
100-i) *
100/(
50*
50)) +
",5\n";