1👍
The xAxes
and yAxes
properties are arrays since chart.js supports having multiple axes for each. You will need to change your code to be an array of axis objects instead of an object.
yAxes: [{
display: false
}]
- [Chartjs]-How can I highlight/format a specific date label (e.g. today) on a time axis using chart.js?
- [Chartjs]-Vue ChatJS redirect on pointer click
Source:stackexchange.com