title: chart js - bar chart with time scale on Y axis in Hours and Minutes
body: <p>I', using chartjs and now i need to render a time duration.</p>
  
  <p>i need to have category on X axis and duration on Y axis.</p>
  
  <p>is there a way to convert a duration on x axe to have:</p>
  
  <p>40 -> 40 minutes</p>
  
  <p>150 -> 2:30 (or some else formatted, but with value on y axe converted on base 60 for conversion of minutes in hours, NOT IN DECIMAL!)</p>
  
  <p>i tried with </p>
  
  <pre><code>scales: {
  
          yAxes: [{
                  type: 'time',
              time: {
                  unit: 'minute',
                  displayFormats: {
                      hour: 'h:mm:ss a'
                  }
              }
          }]
  
          //
      }
  </code></pre>
  
  <p>witouth success.</p>
  
  <p>this is my full code</p>
  
  <pre><code>var canvas = document.getElementById("graficotest1");
  var ctx = canvas.getContext("2d");
  var myChart = new Chart(ctx, {
  type: 'bar',
  data: {
  
      labels: [
            'modo 1',
            'modo 2,
            'modo 13'
           ],
      datasets: [ 
  
          {
              label: '# Durata reale',
              data: [
                3100,
                615,
                705
              ],
              backgroundColor: 'rgba(255, 99, 132, 0.2)',
              borderColor: 'rgba(255,99,132,1)',
              borderWidth: 1,
              hoverBackgroundColor: 'red'
          },
          {
              label: '# Ore in',
              data: [
                0,
                0,
                465
              ],
              backgroundColor: '#DEF797',
              borderColor: 'rgba(255,99,132,1)',
              borderWidth: 1,
              hoverBackgroundColor: 'yellow'
          },
  
    ]
  },
  options: {
      scales: {
  
          //
          yAxes: [{
                  type: 'time',
              time: {
                  unit: 'minute',
                  displayFormats: {
                      hour: 'h:mm:ss a'
                  }
              }
          }]
  
          //
      },
      //
      title: {
          display: false,
          text: 'stat 1'
      },
      //scaleShowGridLines: false
  
  
  
  
  }
  });
  </code></pre>
  
  <p>i need to convert all valures like 3100, 615, 705 (minutes) to hours:minutes in the graph</p>
  
  <p>Thanks</p>