Topic: Disable Y axis on line chart
Bartłomiej Malanowski staff pro premium answered 7 years ago
options: {
scales: {
yAxes: [{
display: false
}],
}
},
gabri35 commented 7 years ago
Thank you it worked. But is it also posible to disable a specific y axis? For example, I only want to show the yaxis with the labels.Bartłomiej Malanowski staff pro premium commented 7 years ago
Currently, you cannot disable specific axes. It's because of Chart.js doesn't allow thisFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Resolved
- User: Free
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No