Reputation: 95
I want to display the axisY without labels, but this is not work
scales:{
yAxes:[{
scaleLabel:{
display: false
}
}],
},
}```
Upvotes: 0
Views: 2044
Reputation: 123
If you want to hide label, use following
scales:{
yAxes:[{
ticks:{
display: false
}
}]
}
Same goes for xAxes
Upvotes: 0
Reputation: 3125
Try this Source
options: { scales: { yAxes: [{ ticks: { display: false } }] } }
Upvotes: 0
Reputation: 683
Check if the below code works?
scales:{
yAxes:[{
scaleLabel:{
display: false
},
ticks: {
display:false // it should work
}
}],
},
Upvotes: 1