title: chartjs : uncaught exception: 0 and X are too far apart with stepSize of Y
body: <p>I am plotting data on a graph with chartjs. It used to work but I don't know why I am continuously getting <code>uncaught exception: 0 and 1587533402000 are too far apart with stepSize of 1 hour</code>, although neither 0 nor 1587533402000 are part of the data I plot.</p>
  
  <p>Here is how I plot the graph : </p>
  
  <pre><code>var chart_temperature = new Chart(ctx_temperature, {
      // The type of chart we want to create
      type: 'line',
  
      // The data for our dataset
      data: {
          labels: timeXValues,
          fill: false, // no inner color
          datasets: [{
                  label: 'Temperature',
                  borderColor: 'rgb(255, 99, 132)',
                  data: temperatureData
              }]
      },
  
      // Configuration options go here
      options: {
          responsive: true,
          layout: {
              padding: {
                  bottom: 50
              }
          },
          elements: {
              point: {
                  radius: 0 // don't show points
              },
              line: {
                  fill: false
              }
          },
          scales: {
              xAxes: [{
                      type: 'time',
                      time: {
                          unit: 'hour',
                          displayFormats: {
                              hour: 'DD/MM/YYYY HH:mm'
                          }
                      },
                      ticks: {
                          beginAtZero: false // tried true, and also removed all this as it used to be
                      }
  
                  }],
              yAxes: [{
                      scaleLabel: {
                          display: true,
                          labelString: 'T°C'
                      }
                  }]
  
          },
          showLines: true, // the points will be connected
          // Optimization
          animation: {
              duration: 0 // general animation time
          },
          hover: {
              animationDuration: 0 // duration of animations when hovering an item
          },
          responsiveAnimationDuration: 0 // animation duration after a resize
  
      }
  });
  </code></pre>
  
  <p>Why is chartjs using 0 whereas the chart is not starting at 0 ? Where should I look at ?</p>
  
  <p>Any help appreciated :-) </p>
  
  <p><strong>Edit :</strong></p>
  
  <p>Commenting the following line (in <code>scales.xAxes</code>) makes the chart displayed :</p>
  
  <pre><code>//                        type: 'time',
  </code></pre>
  
  <p>But the X Axis becomes then useless since timestamps are displayed.</p>