title: 100 labels in separate div with highlighted series in a box
body: <p>I am trying to show labels div in a separate div with the highlighted series marked with a box , I am doing so because I have 100 labels and showing them above the graph will cover the graph.
  I want to do the same thing happening <a href="http://dygraphs.com/tests/series-highlight.html" rel="nofollow">here</a> , but with the labels in a separate div since 100 labels and each label name is long which will be too much for this area and cover the graph it self.
  I also found <a href="https://github.com/danvk/dygraphs/blob/master/tests/label-div.html" rel="nofollow">this one</a>, but it put the labels in a separate div and <strong>no box around the highlighted point</strong>.
  This is my current code:</p>
  
  <pre><code>  &lt;html&gt;
    &lt;head&gt;
    &lt;script type="text/javascript" src="dygraph-combined-dev.js"&gt;&lt;/script&gt;
  
      &lt;style type='text/css'&gt;
        .few .dygraph-legend &gt; span.highlight { border: 1px solid grey; }
        .many .dygraph-legend &gt; span { display: none; }
        .many .dygraph-legend &gt; span.highlight { display: inline; }
        &lt;/style&gt;
   &lt;/head&gt;
    &lt;body&gt;
    &lt;div id="labels"&gt;&lt;p&gt;Welcome&lt;/p&gt;&lt;/div&gt;
    &lt;script type="text/javascript"&gt;
    var div = document.createElement('div');
      div.className = "few";
      div.style.display = 'block';
      document.body.appendChild(div);
      var defaultLabelHTML = undefined;
    g2 = new Dygraph(
      div,
      "SUBSCRIBE.txt", 
      {   width: 1000,
          height: 300,labelsDiv: document.getElementById("labels"),
      drawCallback: function(dygraph, is_initial){if (is_initial)  {defaultLabelHTML= document.getElementById("labels").innerHTML;}}, 
      stackedGraph: true, highlightCircleSize: 2, 
      highlightSeriesOpts: {
              strokeWidth: 2,
              strokeBorderWidth: 1,
              highlightCircleSize: 4,
                  } 
    });
    &lt;/script&gt;
    &lt;/body&gt;
    &lt;/html&gt;
  </code></pre>
  
  <p>I am new to javascript and Dygraph, but find working with it really amazing as it makes everything really easy and visual.</p>