4 <meta http-equiv=
"X-UA-Compatible" content=
"IE=EmulateIE7; IE=EmulateIE9">
5 <title>two series
</title>
7 <script type=
"text/javascript" src=
"../excanvas.js"></script>
9 <script type=
"text/javascript" src=
"../strftime/strftime-min.js"></script>
10 <script type=
"text/javascript" src=
"../rgbcolor/rgbcolor.js"></script>
11 <script type=
"text/javascript" src=
"../dygraph-canvas.js"></script>
12 <script type=
"text/javascript" src=
"../dygraph.js"></script>
13 <script type=
"text/javascript" src=
"data.js"></script>
14 <style type=
"text/css">
15 #div_g .dygraph-label {
16 /* This applies to the title, x-axis label and y-axis label */
17 font-family: Arial, Helvetica, sans-serif;
19 #div_g .dygraph-title {
20 /* This rule only applies to the chart title */
22 text-shadow: gray
2px
2px
2px; /* color, delta-x, delta-y, blur radius */
24 #div_g .dygraph-ylabel {
25 /* This rule only applies to the y-axis label */
27 text-shadow: gray -
2px
2px
2px; /* (offsets are in a rotated frame) */
30 border:
1px dashed black;
37 <p>In this chart, each chart label is styled independently. View source to
40 <div class=
"chart" id=
"div_g" style=
"width:600px; height:300px;"></div>
42 <p>This version of the chart uses the default styles:
</p>
43 <div class=
"chart" id=
"div_g2" style=
"width:600px; height:300px;"></div>
45 <script type=
"text/javascript">
47 document.getElementById(
"div_g"),
51 title: 'High and Low Temperatures',
53 ylabel: 'Temperature (F)',
54 xlabel: 'Date (Ticks indicate the start of the indicated time period)',
56 'text-align': 'right',
64 document.getElementById(
"div_g2"),
68 title: 'High and Low Temperatures (
30-day average)',
69 ylabel: 'Temperature (F)',
70 xlabel: 'Date (Ticks indicate the start of the indicated time period)',
72 'text-align': 'right',