Commit | Line | Data |
---|---|---|
285a6bda DV |
1 | <html> |
2 | <head> | |
6f091595 | 3 | <title>label-div</title> |
285a6bda DV |
4 | <!--[if IE]> |
5 | <script type="text/javascript" src="excanvas.js"></script> | |
6 | <![endif]--> | |
d37dca40 DV |
7 | <script type="text/javascript" src="../strftime/strftime-min.js"></script> |
8 | <script type="text/javascript" src="../rgbcolor/rgbcolor.js"></script> | |
285a6bda DV |
9 | <script type="text/javascript" src="../dygraph-canvas.js"></script> |
10 | <script type="text/javascript" src="../dygraph.js"></script> | |
11 | <script type="text/javascript" src="data.js"></script> | |
12 | </head> | |
13 | <body> | |
14 | <p>Chart with labels displayed in a separate div:</p> | |
15 | <table><tr> | |
16 | <td valign="top"><div id="graphdiv2"></div></td> | |
17 | <td valign="top"> </td> | |
18 | <td valign="top"><div id="labels"></div></td> | |
19 | </tr></table> | |
20 | ||
21 | <script type="text/javascript"> | |
22 | g2 = new Dygraph(document.getElementById("graphdiv2"), | |
23 | data_nolabel, | |
24 | { | |
5011e7a1 | 25 | labels: [ "Date", "High", "Low" ], |
285a6bda DV |
26 | labelsDiv: document.getElementById("labels") |
27 | }); | |
28 | </script> | |
29 | </body> | |
30 | </html> |