title: How to fix period in x-axis in morris.js?
body: <p>I have problem on giving random dates on x-axis on morris bar graph.
  I've created database on mysql that has a value of data's that represent each day. what do i need to give my x-axis the values i want ?</p>
  
  <pre><code>&lt;?php if (!empty($chart_data)) { ?&gt;
   &lt;script&gt;
   Morris.Bar({
    element : 'chart',
    data:[&lt;?php echo $chart_data; ?&gt;],
    xkey:['Date'], 
    ykeys:['TransData_'],
    labels: ['Percentage'],
    hideHover:'auto',
    stacked:true,
    ymax:[100]
   });
   &lt;/script&gt;
  </code></pre>
  
     
  
  <p><img src="https://i.stack.imgur.com/QNfAd.png" alt="Bar Chart"></p>