title: Annotations not working, not even in Dygraphs' own example on jsFiddle, why?
body: <p>I'm currently trying out Dygraphs (which seems <strong>really</strong> great btw!), but for some strange reason, the annotations feature won't work for me, AND it also fails in the exact same way on the jsFiddle version of Dygraphs' own gallery example of annotations, so this is most likely a bug/problem the devs really might want to take a look at(!).</p>
  
  <p>To reproduce (same thing happens in both latest Firefox and latest Chrome):</p>
  
  <p>1.
  Look at the "annotations" example in the Dygraphs gallery, here:
  <a href="http://dygraphs.com/gallery/#g/annotations" rel="nofollow noreferrer">http://dygraphs.com/gallery/#g/annotations</a>
  It works just fine and looks great, like this:</p>
  
  <p><a href="https://i.stack.imgur.com/9iRSj.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9iRSj.png" alt="Working annotations on Dygraphs gallery page"></a></p>
  
  <p>2.
  Press the "Edit in jsFiddle" button, for that very example on that very page.
  You are now sent to jsFiddle, and if you press the "Run" button there, the chart itself (colored curves etc) is shown just fine, <strong>but</strong>, only the "stems" of the annotation "signs" are shown, while the text contents of the annotations are all displayed as normal text to the left of the chart?! Like this:</p>
  
  <p><a href="https://i.stack.imgur.com/1ZhlT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/1ZhlT.png" alt="Broken annotations on jsFiddle"></a></p>
  
  <p>Seems like some kind of CSS problem or similar to me, am I correct?</p>
  
  <p>Since the example is Dygraphs' own example, which also works on their own site but not on jsFiddle, all suspicions of incorrectly formatted data or code can also be let go, I guess. It also happens to all my own Dygraphs charts on my own computer that I try to annotate, but this native Dygraphs gallery example is a much better example to investigate from I guess?</p>
  
  <p>So, my question is of course, why does this happen, and how do I fix it to get the annotations working and displaying correctly?</p>
  
  <hr>
  
  <p><strong>ADDITION:</strong></p>
  
  <p>Let's make it even simpler, in order to isolate the problem without any hesitation.</p>
  
  <p>Here is a very simple example for Dygraph annotations that I have put together on my own local disk (i.e. as a stand-alone HTML file):</p>
  
  <pre><code>&lt;html&gt;
  &lt;head&gt;
  &lt;script type="text/javascript" src="dygraph.js"&gt;&lt;/script&gt;
  &lt;link rel="stylesheet" src="dygraph.css" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
  &lt;div id="test_chart" style="width:750px; height:350px;"&gt;&lt;/div&gt;
  
  &lt;script type="text/javascript"&gt;
    var test_annotations = [
      {
        series: "TestCol1",
        x: "2017-05-26",
        shortText: "A",
        text: "Test annotation",
        cssClass: 'annotation'
      }
    ];
  
    testchart = new Dygraph(
      document.getElementById('test_chart'),
      "Date,TestCol1\n" +
      "2017-05-25,110\n" +
      "2017-05-26,80\n" +
      "2017-05-27,75\n",
      {}
    );
    testchart.setAnnotations(test_annotations);
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>When I open this file (locally with file:// in Chrome on my computer, having the latest dygraph.js and dygraph.css in the same directory), this is what I get:</p>
  
  <p><a href="https://i.stack.imgur.com/iZ9fu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/iZ9fu.png" alt="Local example"></a></p>
  
  <p>As you can see, exactly the same problem as described above appears here, i.e. only the "stem" of the test annotation is visible in the graph itself, while the annotation text ("A") is displayed to the left of the graph.</p>
  
  <p>The Firebug console is empty after having loaded this file, and no attempts (unsuccessful or otherwise) of loading any images are anywhere to be found in the Firebug network tab either.</p>
  
  <p>Again, this very much feels like some kind of CSS positioning problem to me, but I may of course very well be wrong?</p>
  
  <p>The answer to provide to this question would then be:</p>
  
  <p>How, in as few and simple changes/steps as possible, would I get this local example PoC code for Dygraphs annotations to work as intended, i.e. showing the annotation text "A" inside a square at the correct position inside the graph (i.e. at the position where the "annotation stem" is currently just displayed, just as is done in the working example on the Dygraphs page, in my first screendump above in this question)?</p>