4 <meta http-equiv=
"X-UA-Compatible" content=
"IE=EmulateIE7; IE=EmulateIE9">
5 <title>dateWindow
</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>dateWindow is set to something other than an x-value in the data set.
18 Grid lines should still go through data points. In the second chart, there
19 should be lines going off the edge of the chart (to data points out of
22 <div id=
"div_g1" style=
"width:900px; height:300px;"></div>
23 <div id=
"div_g2" style=
"width:900px; height:300px;"></div>
25 <script type=
"text/javascript">
27 for (var i =
1; i <
10; i++) {
28 data.push([new Date(
"2009/10/0" + i), i%
2, i%
3]);
32 document.getElementById(
"div_g1"),
34 dateWindow: [ Date.parse(
"2009/09/29 12:00:00"),
35 Date.parse(
"2009/10/10 12:00:00") ]
40 document.getElementById(
"div_g2"),
42 dateWindow: [ Date.parse(
"2009/10/01 12:00:00"),
43 Date.parse(
"2009/10/08 12:00:00") ]