Fix and regression test for fast proxy artifacts.
[dygraphs.git] / tests / customLabelCss3.html
CommitLineData
623bbb49
JL
1<!DOCTYPE html>
2<html>
3 <head>
623bbb49 4 <title>Label styles</title>
623bbb49
JL
5 <!--
6 For production (minified) code, use:
7 <script type="text/javascript" src="dygraph-combined.js"></script>
8 -->
9 <script type="text/javascript" src="../dygraph-dev.js"></script>
10
11 <script type="text/javascript" src="data.js"></script>
12 </head>
13 <body>
14 <p>Labels are styled with css3:</p>
15 <div id="div_g14" style="width:600px; height:300px;"></div>
16
17 <script type="text/javascript">
18 g14 = new Dygraph(
19 document.getElementById("div_g14"),
20 NoisyData, {
21 rollPeriod: 14,
22 errorBars: true,
23 labelsDivWidth: 100,
24 labelsDivStyles: {
25 'backgroundColor': 'rgba(200, 200, 255, 0.75)',
0e261c43
DV
26 'padding': '4px',
27 'border': '1px solid black',
28 'borderRadius': '10px',
29 'boxShadow': '4px 4px 4px #888'
30 },
623bbb49
JL
31 labelsSeparateLines: true,
32 yAxisLabelWidth: 20
33 }
34 );
35 </script>
36 </body>
37</html>