1👍
✅
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
}
}]
},
}
Source:stackexchange.com