4 <title>fillGraph with per series fillAlpha
</title>
6 For production (minified) code, use:
7 <script type=
"text/javascript" src=
"dygraph-combined.js"></script>
9 <script type=
"text/javascript" src=
"../dygraph-dev.js"></script>
13 <p>Filled, using default value
</p>
14 <div id=
"div_g0" style=
"width:600px; height:300px;"></div>
16 <p>Filled, using global alpha value
</p>
17 <div id=
"div_g1" style=
"width:600px; height:300px;"></div>
19 <p>Filled, using per series alpha values
</p>
20 <div id=
"div_g2" style=
"width:600px; height:300px;"></div>
22 <p>Filled, using a mix of global and per series values
</p>
23 <div id=
"div_g3" style=
"width:600px; height:300px;"></div>
25 <script type=
"text/javascript">
26 // Create some data for the charts
27 var gdata =
"X,Y1,Y2\n";
28 for (var i =
0; i <
100; i++) {
29 gdata += i +
"," + i +
"," + (i * (
100-i) *
100/(
50*
50)) +
"\n";
32 // Just use the default values
34 document.getElementById(
"div_g0"),
42 document.getElementById(
"div_g1"),
51 document.getElementById(
"div_g2"),
56 Y1: { fillAlpha:
0.9 },
57 Y2: { fillAlpha:
0.1 }
63 document.getElementById(
"div_g3"),
69 Y2: { fillAlpha:
0.1 }