title: Iterating through the same dataset in Chart.js
body: <p>I'm dealing with mixed chart using Chart.js 
  Here is the code</p>
  
  <pre><code>var mixedChart = new Chart(ctx, {
  type: 'bar',
  data: {
  datasets: [{
        label: 'Bar Dataset',
        data: [10, 20, 30, 40]
      }, {
        label: 'Line Dataset',
        data: [50, 50, 50, 50],
  
        // Changes this dataset to become a line
        type: 'line'
      }],
    labels: ['January', 'February', 'March', 'April']
    },
    options: options
    });
  </code></pre>
  
  <p>I need to iterate only the Line Dataset data instead of writing it four times something like this,</p>
  
  <pre><code>var mixedChart = new Chart(ctx, {
  type: 'bar',
  data: {
  datasets: [{
        label: 'Bar Dataset',
        data: [10, 20, 30, 40]
      }, {
        label: 'Line Dataset',
        for(var i=0;i&lt;4;i++){
        data: [50],
        }
        // Changes this dataset to become a line
        type: 'line'
      }],
   labels: ['January', 'February', 'March', 'April']
   },
   options: options
   });
  </code></pre>
  
  <p>As this is throwing some error Can u please help me in achieving this.
  Thank You</p>