title: jquery mobile and flot library
body: <p>I am implementing flot in a small jquery mobile framework site. The page / content div that contains the flot is on a secondary page. The first time the flot page is shown, the chart renders nicely. Moving back to the primary page and forward again to the flot page, the chart does not render. </p>
  
  <p>The content is coming from an asp mvc view:</p>
  
  <pre><code>&lt;div id="chartcontainer"&gt;
      &lt;div id="chartdiv" style="height:300px;width:400px;"&gt;&lt;/div&gt;
  &lt;/div&gt;
  &lt;script type="text/javascript"&gt;
  $(function () {
      var d1 = [[1, 1], [2, 2], [3, 3]];
      $.plot($("#chartdiv"), [d1]);
  });
  &lt;/script&gt; 
  </code></pre>