Chartjs-Unable to create Stacked Grouped Bar Chart with chart.js / react-chartjs-2 in React

0👍

Have you tried this?

var stackedBar = new Chart(ctx, {
    type: 'bar',
    data: data,
    options: {
        scales: {
            xAxes: [{
                stacked: true
            }],
            yAxes: [{
                stacked: true
            }]
        }
    }
});

Leave a comment