1👍
It turns out the black background was hiding the zero axis color. I fixed it by adding the zeroLineColor: ‘white’ option under scales under yAxes like so:
scales: {
yAxes: [{
display: true,
gridLines: {
color: 'gray',
zeroLineColor: 'white'
}
}],
- [Chartjs]-Chart.JS Vertical Line with Moment.JS Horizontal Axis
- [Chartjs]-Chartjs – pointColor to follow current color of gradient stroke
Source:stackexchange.com