score:1

Accepted answer

you forgot to place the labelstring in the scalelabel property again for your combined config, if you put it like this it should work:

options: {
    title: {
        display: true,
        text: 'number of faults'
    },
    responsive: false,
    scales: {
        yaxes: [{
            scalelabel: {
                display: true,
                labelstring: 'probability'
            },
            ticks: {
                beginatzero: true,
                min: 0
            }
        }]
    },
}

Related Query

More Query from same tag