Chartjs-Why is my Line Chart.JS starting in the middle?

0👍

Not sure why it happens, after reading the documentation, and doing some experiments. If I turn off the XAxes, the line starts from the beginning. But with the Axes label on, I am still not able to get it correctly.

   options: {
       scales: {
           xAxes: [{
               display: false
           }]
       }
   }

Leave a comment