| 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7; IE=EmulateIE9"> |
| 5 | <title>Custom grid and Dot</title> |
| 6 | <!--[if IE]> |
| 7 | <script type="text/javascript" src="../excanvas.js"></script> |
| 8 | <![endif]--> |
| 9 | <!-- |
| 10 | For production (minified) code, use: |
| 11 | <script type="text/javascript" src="dygraph-combined.js"></script> |
| 12 | --> |
| 13 | <script type="text/javascript" src="../dygraph-dev.js"></script> |
| 14 | |
| 15 | <script type="text/javascript" src="data.js"></script> |
| 16 | </head> |
| 17 | |
| 18 | <body> |
| 19 | <p>Dot and lines should be extra large. Grid is red.</p> |
| 20 | <div id="div_g14" style="width:600px; height:300px;"></div> |
| 21 | |
| 22 | <script type="text/javascript"> |
| 23 | g14 = new Dygraph( |
| 24 | document.getElementById("div_g14"), |
| 25 | NoisyData, { |
| 26 | rollPeriod: 14, |
| 27 | errorBars: true, |
| 28 | gridLineColor: '#FF0000', |
| 29 | highlightCircleSize: 10, |
| 30 | strokeWidth: 3 |
| 31 | } |
| 32 | ); |
| 33 | </script> |
| 34 | </body> |
| 35 | </html> |