Any idea why the tick color for 0 would be different? I am using chartjs v 2.8.
Here are the options I am providing to the line chart.
{
"responsive": true,
"maintainAspectRatio": false,
"title": {
"display": false,
"text": "xxxxxxxxxxxxx"
},
"layout": {
"padding": {
"left": 0,
"right": 0,
"top": 0,
"bottom": 0
}
},
"scales": {
"yAxes": [
{
"id": "y-axis-0",
"position": "left",
"borderWidth": 1,
"ticks": {
"type": "linear",
"beginAtZero": true,
"padding": 10,
"fontColor": "rgba(0,0,0,1)"
},
"scaleLabel": {
"display": true,
"fontSize": 14,
"labelString": "yyyyyyyyyyy",
"fontColor": "rgba(0,0,0,1)"
},
"gridLines": {
"display": true,
"drawOnChartArea": false,
"drawTicks": true,
"color": "rgba(0,0,0,1)"
},
"stacked": false
},
{
"id": "y-axis-1",
"position": "right",
"fontColor": "rgba(0,0,0,1)",
"ticks": {
"type": "linear",
"beginAtZero": true,
"padding": 10,
"fontColor": "rgba(0,0,0,1)",
"suggestedMax": 118.4
},
"scaleLabel": {
"display": true,
"fontSize": 14,
"labelString": "zzzzzzzzzzzzz",
"fontColor": "rgba(0,0,0,1)"
},
"gridLines": {
"drawTicks": true,
"display": true,
"drawOnChartArea": false,
"offsetGridLines": false,
"color": "rgba(0,0,0,1)"
},
"display": true
}
],
"xAxes": [
{
"id": "x-axis",
"position": "bottom",
"ticks": {
"padding": 20,
"autoSkipPadding": 5,
"fontColor": "rgba(0,0,0,1)"
},
"scaleLabel": {
"display": true,
"labelString": "Year",
"fontColor": "rgba(0,0,0,1)",
"fontSize": 14
},
"gridLines": {
"drawTicks": true,
"display": true,
"drawOnChartArea": false,
"offsetGridLines": false,
"color": "rgba(0,0,0,1)"
},
"stacked": false
}
]
},
"legend": {
"display": false
}
}
