4 <meta http-equiv=
"X-UA-Compatible" content=
"IE=EmulateIE7; IE=EmulateIE9">
5 <title>Native format annotations
</title>
7 <script type=
"text/javascript" src=
"../excanvas.js"></script>
9 <script type=
"text/javascript" src=
"../dygraph-dev.js"></script>
12 <p>This test demonstrates how annotations can be used with
<a href=
"http://dygraphs.com/data.html#array">native-format
</a> data.
</p>
14 <div id=
"demodiv"></div>
16 <script type=
"text/javascript">
18 document.getElementById(
"demodiv"),
20 [ new Date(
"2011/11/01"),
100 ],
21 [ new Date(
"2011/11/02"),
200 ],
22 [ new Date(
"2011/11/03"),
300 ],
23 [ new Date(
"2011/11/04"),
100 ],
24 [ new Date(
"2011/11/05"),
200 ],
25 [ new Date(
"2011/11/06"),
300 ],
26 [ new Date(
"2011/11/07"),
200 ],
27 [ new Date(
"2011/11/08"),
100 ]
30 labels: [ 'Date', 'Value' ]
36 x: Date.parse('
2011/
11/
04'),