title: dygraphs div not visible until browser Inspection window opened or browser resize
body: <p>This has plagued me for a week, so I had to come to SO. (Forgive the URL, it's a dev server).
  <a href="http://www.stagestudio.com.ua/shutter_stat/wiev_base.php?cat=34" rel="noreferrer">http://www.stagestudio.com.ua/shutter_stat/wiev_base.php?cat=34</a></p>
  
  <p>when I click on the photo the popup with linechart should appear but in fact the linechart is non visible. It can be visible only after resize the window or open browser inspection window.</p>
  
  <p>How can I fix this?</p>
  
  <p>This method dont work <code>&lt;script&gt;
      var graph = new Dygraph(document.getElementById("graphPanel"), "temperatures.csv", {
          animatedZooms: true
      });
      $(document).ready(function () {
          graph.resize(800, 500)
      });
  &lt;/scrip&gt;</code></p>