Yes, if configuration of axis is changed and that configuration does no carry color, it looks for default color and in chart it is actually #666
It may be that dashboard tries to force some color but with some element changed, it does not be reflected.
But it can be changed element by element
For axis it needs to be something like this
EDIT: added colors of grid lines also
msg.ui_control = {
options: {
scales: {
xAxes: [{
gridLines:{
color:'red',
zeroLineColor:'red'
},
type: 'time',
ticks:{
fontColor:'white'
},
time: {
min: d
}
}],
yAxes: [{
gridLines:{
color:'red',
zeroLineColor:'red'
},
ticks: {
fontColor:'white',
suggestedMin: flow.get('chartprops').yaxis.min,
suggestedMax: flow.get('chartprops').yaxis.max
}
}]
}
}
}
return msg;