title: Adding timeAxis with Dimple.js
body: <p>I have the following dimple.js code:</p>
  <pre><code>var svg = dimple.newSvg(&quot;#chart_montreal&quot;, 590, 400);
  d3.csv(&quot;data/data_montreal.csv&quot;, function (data) {
  data = dimple.filterData(data, &quot;parameter&quot;, [&quot;DCE_1_2&quot;,&quot;DCE_1_3&quot;,&quot;DCE_1_4&quot;])
       var myChart = new dimple.chart(svg, data);
       myChart.setBounds(60, 30, 505, 305);
       var x = myChart.addTimeAxis(&quot;x&quot;, &quot;date&quot;,&quot;%m-%d-%Y-%H%M%S&quot;,&quot;%m-%d-%y-%H%M%S&quot;);//  09-11-2007 15:15 &quot;%m/%d/%y_%X&quot;,&quot;%m/%d/%y %X&quot;
       console.log(x);
       //x.addOrderRule(&quot;date&quot;);
       myChart.addMeasureAxis(&quot;y&quot;, &quot;values&quot;);
       myChart.addSeries(&quot;parameter&quot;, dimple.plot.area);
       myChart.addLegend(60, 10, 500, 20, &quot;right&quot;);
       //myChart.setMargins(&quot;0%&quot;,&quot;0%&quot;,&quot;0%&quot;,&quot;30%&quot;);
       myChart.draw();
  });
  </code></pre>
  <p>The console.log(x) returns an object; in the inspector in Chrome, I can read the values of x as:</p>
  <blockquote>
  <p>_max: Mon Sep 24 2007 12:00:00 GMT-0500 (Central Daylight Time)
  <strong>proto</strong>: Invalid Date</p>
  <p>_min: Tue Sep 11 2007 15:15:00 GMT-0500 (Central Daylight Time)
  <strong>proto</strong>: Invalid Date</p>
  </blockquote>
  <p>Sample of csv:</p>
  <blockquote>
  <p>parameter,date,values,sample,</p>
  <p>benzene,09-11-2007-151500,150,PO1-1-110907,</p>
  <p>chlorobenzene,09-11-2007-151500,1900,PO1-1-110907,</p>
  <p>DCE_1_2,09-11-2007-151500,5500,PO1-1-110907,</p>
  <p>DCE_1_3,09-11-2007-151500,1000,PO1-1-110907,</p>
  <p>DCE_1_4,09-11-2007-151500,3000,PO1-1-110907,</p>
  <p>ethylbenzene,09-11-2007-151500,100,PO1-1-110907,</p>
  </blockquote>
  <p>Consequently, the date shows up correctly, the the time is completely erased.</p>
  <p>I assume it's a bug, as there's no errors being reported.</p>
  <p>The working file is here: <a href="http://lorefolk.com/ii/iveysoldemo/demo.html#/5" rel="nofollow noreferrer">http://lorefolk.com/ii/iveysoldemo/demo.html#/5</a></p>
  <p>Does anyone see if there's something wrong with the formatting or know a trick in d3 to fix this?</p>