title: Bar labels in Legend
body: <p>My problem is similar to <a href="https://stackoverflow.com/questions/38515825/how-to-show-bar-labels-in-legend-in-chart-js-2-1-6">How to show bar labels in legend in Chart.js 2.1.6?</a></p>
  
  <p>I want to have to same output a pie chart give, but I do not want to create multiple datasets. I managed to do this, but now I can't find how. </p>
  
  <p>Here is my code sample :</p>
  
  <pre><code> var myChart = new Chart(ctx, {
      type: type_p,
      data: {
          labels: ['Lundi','Mardi'],
          datasets: [{
              data: [50,20],
              backgroundColor: color,
              borderColor: color,
              borderWidth: 1
          }]
      }
  </code></pre>
  
  <p>I want the same legend as a pie chart, but with a bar chart:
  <a href="https://i.stack.imgur.com/glqIc.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/glqIc.png" alt="pie chart"></a></p>
  
  <p>Is this a way to do this?</p>