title: Output javascript date month as text? Using C3.js
body: <p>The demo below outputs the month part of the date string as numeric <strong>months</strong> 1-12 and applies it to the <strong>x axis</strong> values.</p>
  
  <ul>
  <li>How can the months be output as text: <strong>Jan, Feb, Mar...</strong> ? <em>(Even if this is hardcoded as text, I cannot find a type format of text,string).</em></li>
  </ul>
  
  <p>The documentation for c3 is currently limited and my trials so far have been unsuccessful.</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>    var chart = c3.generate({
        bindto: '#chart',
        data: {
          x: 'x',
          columns: [
              ['x', '2013-01-01', '2013-02-01', '2013-03-01', '2013-04-01', '2013-05-01', '2013-06-01', '2013-07-01', '2013-08-01', '2013-09-01', '2013-10-01', '2013-11-01', '2013-12-01'],
              ['2014', 130, 120, 150, 140, 160, 150, 130, 120, 150, 140, 160, 150]
          ],
          type: 'bar'
        },
        axis: {
          x: {
            type: 'timeseries',
            tick: {
              format: function (x) { return (x.getMonth() + 1); }
            }
          }
        }
      });</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://cdnjs.cloudflare.com/ajax/libs/d3/3.4.11/d3.min.js"&gt;&lt;/script&gt;
  &lt;script src="http://gopeter.de/misc/c3/c3.js"&gt;&lt;/script&gt;
  
  &lt;div id="chart"&gt;&lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>