4 <link rel=
"stylesheet" href=
"../css/dygraph.css">
5 <title>Native format annotations
</title>
6 <script type=
"text/javascript" src=
"../dist/dygraph.js"></script>
9 <p>This test demonstrates how annotations can be used with
<a href=
"http://dygraphs.com/data.html#array">native-format
</a> data.
</p>
11 <div id=
"demodiv"></div>
13 <script type=
"text/javascript">
15 document.getElementById(
"demodiv"),
17 [ new Date(
"2011/11/01"),
100 ],
18 [ new Date(
"2011/11/02"),
200 ],
19 [ new Date(
"2011/11/03"),
300 ],
20 [ new Date(
"2011/11/04"),
100 ],
21 [ new Date(
"2011/11/05"),
200 ],
22 [ new Date(
"2011/11/06"),
300 ],
23 [ new Date(
"2011/11/07"),
200 ],
24 [ new Date(
"2011/11/08"),
100 ]
27 labels: [ 'Date', 'Value' ]
33 x: Date.parse('
2011/
11/
04'),