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