1👍
In chart.js there is a configuration for cartesian axes, as per the docs
. You can change the config like this to handle the colour of the X and Y axes.
const config = {
type: 'bar',
data,
options: {
scales: {
x: {
grid: {
borderColor: 'white'
}
},
y: {
grid: {
borderColor: 'white'
}
},
}
}
};
Source:stackexchange.com