0👍
This is because your config is not getting picked up, you putted your scale config in the options.scale
namespace white it needs to be configured in the options.scales
so you need to add an extra s
at the end
- Chartjs-JSON Data in javascript
- Chartjs-How do I set the vertical line distance in Time Cartesian charts in chartjs?
0👍
This is how I manage to get rid of the labels, I think in your case instead of Y its gonna be y2
y: {
ticks: {
display: false, //this will remove only the label
},
},
Source:stackexchange.com