4 <meta http-equiv=
"X-UA-Compatible" content=
"IE=EmulateIE7; IE=EmulateIE9">
5 <title>Temperatures with Range Selector
</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">
18 border:
1px solid red;
23 <p>Demo of a graph with the range selector.
</p>
27 <div id=
"noroll" style=
"width:800px; height:320px;"></div>
29 Roll period of
14 timesteps, custom range selector height and plot color.
31 <div id=
"roll14" style=
"width:800px; height:320px;"></div>
32 <script type=
"text/javascript">
34 document.getElementById(
"noroll"),
38 title: 'Daily Temperatures in New York vs. San Francisco',
39 ylabel: 'Temperature (F)',
41 labelsDivStyles: { 'textAlign': 'right' },
42 showRangeSelector: true
46 document.getElementById(
"roll14"),
52 title: 'Daily Temperatures in New York vs. San Francisco',
53 ylabel: 'Temperature (F)',
55 labelsDivStyles: { 'textAlign': 'right' },
57 showRangeSelector: true,
58 rangeSelectorHeight:
30,
59 rangeSelectorPlotStrokeColor: 'yellow',
60 rangeSelectorPlotFillColor: 'lightyellow'