Chartjs-Use multiple datasets with Javascript Chart

1👍

Okay I managed to fix it !

It was in the Chart options in ‘scales’.

options: {
            scales: {
                xAxes: [{
                    ...
                }],
                yAxes: [{
                    ...
                    },
                    stacked: false,
                    ticks: {
                        ...
                    }
                }]
            }
        }

stacked was set to true and that’s why it was broken. It should be at false.

Leave a comment