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