1:x轴文本字体颜色改变
xAxis : [
{
type : 'category',
data : ['<30','30-','40-','50-','60-','>=70'],
axisLabel: {
show: true,
textStyle: {
color: '#fff'
}
}
}
]
2:y轴文本字体颜色改变
yAxis : [
{
type : 'value',
name : '%',
axisLabel : {
formatter: '{value}',
textStyle: {
color: '#fff'
}
}
}
]
感谢分享https://www.cnblogs.com/cocozj945/p/6268460.html