all tests pass in IE8!
[dygraphs.git] / tests / customLabel.html
... / ...
CommitLineData
1<html>
2 <head>
3 <title>Label styles</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-canvas.js"></script>
9 <script type="text/javascript" src="../dygraph.js"></script>
10 <script type="text/javascript" src="data.js"></script>
11 </head>
12 <body>
13 <p>Labels are transparent and repositioned:</p>
14 <div id="div_g14" style="width:600px; height:300px;"></div>
15
16 <script type="text/javascript">
17 g14 = new Dygraph(
18 document.getElementById("div_g14"),
19 NoisyData, {
20 rollPeriod: 14,
21 errorBars: true,
22 labelsDivWidth: 100,
23 labelsDivStyles: {
24 'background-color': 'transparent',
25 'top': '210px'
26 },
27 labelsSeparateLines: true,
28 yAxisLabelWidth: 20
29 }
30 );
31 </script>
32 </body>
33</html>