5 <script type=
"text/javascript" src=
"../excanvas.js"></script>
7 <script type=
"text/javascript" src=
"../strftime/strftime-min.js"></script>
8 <script type=
"text/javascript" src=
"../rgbcolor/rgbcolor.js"></script>
9 <script type=
"text/javascript" src=
"../dygraph-canvas.js"></script>
10 <script type=
"text/javascript" src=
"../dygraph.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" ]