title: Using dates in jQuery Flot display
body: <p>I'm trying to use Flot to plot a graph with dates.  I've followed the advice on this string: <a href="https://stackoverflow.com/questions/2020864/flot-display-the-date-in-flot-based-on-timestamp">here</a> but it doesn't seem to work for me. Here is my modified JavaScript (from that other question):</p>
  
  <pre><code>$(document).ready(function () {
  
      var d1 = [[1262818800,100],[1262732400,100],[1262646000,100]]; 
  
      var d2 = [[1262818800,23],[1262732400,23],[1262646000,23]];
  
      $.plot($("#placeholder"), [{data:d1,lines:{show: true},label:"Mountain"},{data:d2,lines:{show: true},label:"Valley"}],{yaxis: {label:"cm"}},
      {xaxis: 
        {mode:"time",
        timeformat: "%M:%S"
   }
      });
  
  });
  </code></pre>
  
  <p>I get a graph, but it doesn't convert the x-axis into dates, and the values on the x-axis don't even line up with what I've got in the data variables.  I've even tried multiplying each datapoint by 1000 to convert to Javascript timestamps, but that didn't help either.  I've also tried the following timeformat variables, in case that was the problem:</p>
  
  <pre><code>"%M:%S", "%H:%S", "%y,%m,%d"
  </code></pre>
  
  <p>But no luck.  Any ideas?</p>