title: ChartJS: Grouped Stacked Bar Chart not Grouping
body: <p>I am trying to create a grouped, stacked bar chart in ChartJS. For the below code, all works fine apart from the grouping aspect, it simply stacks all datasets on top of one another.</p>
  <pre><code>stackedBarChartData = {
          barPercentage: 1.0,
          //labels: stackedBarData['skills'],
          labels: ['1', '2', '3', '4', '5', '6', '7', '8'],
          datasets:[
              {
                label: 'Dataset 1',
                data: [0, 1, 3, 4, 2, 4, 5, 9],
                backgroundColor: '#D6E9C6',
                stack: 'Stack 0',
              },
              {
                label: 'Dataset 2',
                data: [0, 12, 3, 6, 2, 4, 8, 9],
                backgroundColor: '#FAEBCC',
                stack: 'Stack 0',
              },
              {
                label: 'Dataset 3',
                data: [0, 1, 3, 4, 2, 4, 5, 9],
                backgroundColor: '#EBCCD1',
                stack: 'Stack 1',
              },
          ]
      }
  groupedChartOptions = {
      type: 'bar',
      data: stackedBarChartData,
      options: {
          scales: {
              scaleShowValues: true,
              xAxes: [{
                  stacked: true,
                  scaleLabel: {
                      display: true,
                      labelString: options.xLabel
                  },
                  ticks: {
                      autoSkip: false
                  },
                  gridLines: { display: false }
              }],
              yAxes: [{
                  stacked: true,
                  scaleLabel: {
                      display: true,
                      labelString: options.yLabel
                  },
                  gridLines: { display: false }
              }]
          },
          title:{
              display: true,
              text: options.title
          }
      }
  }
  return new Chart(chartObject, chartOptions);
  </code></pre>
  <p>The result is as follows:</p>
  <p><a href="https://i.stack.imgur.com/OqX4x.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/OqX4x.png" alt="enter image description here" /></a></p>
  <p>Any help would be much appreciated.</p>