4 <link rel=
"stylesheet" href=
"../css/dygraph.css">
7 For production (minified) code, use:
8 <script type=
"text/javascript" src=
"dygraph-combined.js"></script>
10 <script type=
"text/javascript" src=
"../dist/dygraph.js"></script>
14 <p>Minimal example of a dygraph chart:
</p>
15 <div id=
"graphdiv"></div>
16 <script type=
"text/javascript">
17 g = new Dygraph(document.getElementById(
"graphdiv"),
18 "Date,Temperature\n" +
24 <p>Same data, specified in a parsed format:
</p>
25 <div id=
"graphdiv2"></div>
26 <script type=
"text/javascript">
27 g2 = new Dygraph(document.getElementById(
"graphdiv2"),
28 [ [ new Date(
"2008/05/07"),
75],
29 [ new Date(
"2008/05/08"),
70],
30 [ new Date(
"2008/05/09"),
80]
33 labels: [
"Date",
"Temperature" ]