Commit | Line | Data |
---|---|---|
a9fc39ab DV |
1 | <html> |
2 | <head> | |
3 | <title>Custom grid and Dot</title> | |
4 | <!--[if IE]> | |
5 | <script type="text/javascript" src="excanvas.js"></script> | |
6 | <![endif]--> | |
7 | <script type="text/javascript" src="../dygraph-combined.js"></script> | |
8 | <script type="text/javascript" src="../dygraph.js"></script> | |
9 | <script type="text/javascript" src="data.js"></script> | |
10 | </head> | |
11 | <body> | |
12 | <p>Dot and lines should be extra large. Grid is red.</p> | |
13 | <div id="g14" style="width:600px; height:300px;"></div> | |
14 | ||
15 | <script type="text/javascript"> | |
16 | g14 = new DateGraph( | |
17 | document.getElementById("g14"), | |
18 | NoisyData, null, { | |
19 | rollPeriod: 14, | |
20 | errorBars: true, | |
21 | gridLineColor: MochiKit.Color.Color.redColor(), | |
22 | highlightCircleSize: 10, | |
23 | strokeWidth: 3, | |
24 | padding: { | |
25 | left: 40, | |
26 | top: 0, | |
27 | right: 10, | |
28 | bottom: 10 | |
29 | } | |
30 | } | |
31 | ); | |
32 | </script> | |
33 | </body> | |
34 | </html> |