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>
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>
15 <script type=
"text/javascript" src=
"data.js"></script>
16 <style type=
"text/css">
17 #div_g .dygraph-label {
18 /* This applies to the title, x-axis label and y-axis label */
19 font-family: Arial, Helvetica, sans-serif;
21 #div_g .dygraph-title {
22 /* This rule only applies to the chart title */
24 text-shadow: gray
2px
2px
2px; /* color, delta-x, delta-y, blur radius */
26 #div_g .dygraph-ylabel {
27 /* This rule only applies to the y-axis label */
29 text-shadow: gray -
2px
2px
2px; /* (offsets are in a rotated frame) */
32 border:
1px dashed black;
39 <p>In this chart, each chart label is styled independently. View source to
42 <div class=
"chart" id=
"div_g" style=
"width:600px; height:300px;"></div>
44 <p>This version of the chart uses the default styles:
</p>
45 <div class=
"chart" id=
"div_g2" style=
"width:600px; height:300px;"></div>
47 <script type=
"text/javascript">
49 document.getElementById(
"div_g"),
53 title: 'High and Low Temperatures',
55 ylabel: 'Temperature (F)',
56 xlabel: 'Date (Ticks indicate the start of the indicated time period)',
58 'text-align': 'right',
66 document.getElementById(
"div_g2"),
70 title: 'High and Low Temperatures (
30-day average)',
71 ylabel: 'Temperature (F)',
72 xlabel: 'Date (Ticks indicate the start of the indicated time period)',
74 'text-align': 'right',