4 <meta http-equiv=
"X-UA-Compatible" content=
"IE=EmulateIE7; IE=EmulateIE9">
5 <title>fillGraph
</title>
7 <script type=
"text/javascript" src=
"../excanvas.js"></script>
10 For production (minified) code, use:
11 <script type=
"text/javascript" src=
"dygraph-combined.js"></script>
13 <script type=
"text/javascript" src=
"../dygraph-dev.js"></script>
17 <p>Filled, no error bars:
</p>
18 <div id=
"div_g" style=
"width:600px; height:300px;"></div>
20 <p>Filled, negatives:
</p>
21 <div id=
"div_g2" style=
"width:600px; height:300px;"></div>
23 <p>Filled, error bars:
</p>
24 <div id=
"div_g3" style=
"width:600px; height:300px;"></div>
26 <script type=
"text/javascript">
28 document.getElementById(
"div_g"),
30 var ret =
"X,Y1,Y2\n";
31 for (var i =
0; i <
100; i++) {
32 ret += i +
"," + i +
"," + (i * (
100-i) *
100/(
50*
50)) +
"\n";
40 document.getElementById(
"div_g2"),
42 var ret =
"X,Y1,Y2\n";
43 for (var i =
0; i <
100; i++) {
44 ret += i +
"," + (i -
50) +
45 "," + (
50 - i * (
100-i) *
100/(
50*
50)) +
"\n";
53 document.getElementById(
"div_g3"),
55 var ret =
"X,Y1,Y2\n";
56 for (var i =
0; i <
100; i++) {
57 ret += i +
"," + i +
",10," +
58 (i * (
100-i) *
100/(
50*
50)) +
",5\n";