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