4 <link rel=
"stylesheet" href=
"../css/dygraph.css">
5 <title>Label styles
</title>
7 For production (minified) code, use:
8 <script type=
"text/javascript" src=
"dygraph-combined.js"></script>
10 <script type=
"text/javascript" src=
"../dist/dygraph.js"></script>
12 <script type=
"text/javascript" src=
"data.js"></script>
13 <style type=
"text/css">
15 NOTE: dygraphs does set some properties on the built-in legend, e.g.
16 background-color and left. If you wish to override these, you can add
17 "!important" to your CSS styles, as below.
19 The full list of styles for which this is necessary are listed in
20 plugins/legend.js. They are:
32 #div_g14 .dygraph-legend {
34 background-color: transparent !important;
35 left:
40px !important;
40 <p>Labels are transparent and repositioned:
</p>
41 <div id=
"div_g14" style=
"width:600px; height:300px;"></div>
43 <script type=
"text/javascript">
45 document.getElementById(
"div_g14"),
49 labelsSeparateLines: true,