4 <link rel=
"stylesheet" href=
"../dist/dygraph.css">
6 <script type=
"text/javascript" src=
"../dist/dygraph.js"></script>
10 <p>Minimal example of a dygraph chart:
</p>
11 <div id=
"graphdiv"></div>
12 <script type=
"text/javascript">
13 g = new Dygraph(document.getElementById(
"graphdiv"),
14 "Date,Temperature\n" +
20 <p>Same data, specified in a parsed format:
</p>
21 <div id=
"graphdiv2"></div>
22 <script type=
"text/javascript">
23 g2 = new Dygraph(document.getElementById(
"graphdiv2"),
24 [ [ new Date(
"2008/05/07"),
75],
25 [ new Date(
"2008/05/08"),
70],
26 [ new Date(
"2008/05/09"),
80]
29 labels: [
"Date",
"Temperature" ]