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> | |
285a6bda | 8 | <script type="text/javascript" src="../dygraph-canvas.js"></script> |
a9fc39ab DV |
9 | <script type="text/javascript" src="../dygraph.js"></script> |
10 | <script type="text/javascript" src="data.js"></script> | |
11 | </head> | |
12 | <body> | |
13 | <p>Dot and lines should be extra large. Grid is red.</p> | |
14 | <div id="g14" style="width:600px; height:300px;"></div> | |
15 | ||
16 | <script type="text/javascript"> | |
285a6bda | 17 | g14 = new Dygraph( |
a9fc39ab | 18 | document.getElementById("g14"), |
285a6bda | 19 | NoisyData, { |
a9fc39ab DV |
20 | rollPeriod: 14, |
21 | errorBars: true, | |
22 | gridLineColor: MochiKit.Color.Color.redColor(), | |
23 | highlightCircleSize: 10, | |
24 | strokeWidth: 3, | |
25 | padding: { | |
26 | left: 40, | |
27 | top: 0, | |
28 | right: 10, | |
29 | bottom: 10 | |
30 | } | |
31 | } | |
32 | ); | |
33 | </script> | |
34 | </body> | |
35 | </html> |