Highcharts 高图表轴值颜色

Highcharts 高图表轴值颜色,highcharts,Highcharts,我在highcharts api文档中找不到每个轴的颜色值。 换句话说,我的意思是改变每个轴左/下侧数字的颜色 当前Axis的配置如下所示: xAxis: { lineColor: '#d8efe3', labels: { formatter: function() { return this.value; // clean, unformatted number for year } } }, yAxis: {

我在highcharts api文档中找不到每个轴的颜色值。 换句话说,我的意思是改变每个轴左/下侧数字的颜色

当前Axis的配置如下所示:

xAxis: {
    lineColor: '#d8efe3',
    labels: {
        formatter: function() {
            return this.value; // clean, unformatted number for year
        }
    }
},
yAxis: {
    lineColor: '#d8efe3',
    gridLineColor: '#d8efe3',
    title: {
        text: null
    },
    labels: {
        formatter: function() {
            return this.value / 1000 +'k';
        }
    }
},
编辑: 这张图表没有什么特别之处,只要假设图表像这张一样简单:

这应将x轴和y轴标签颜色更改为红色。我相信这就是你要找的

xAxis: {
  lineColor: '#d8efe3',
    labels: {
      style: {
        color: 'red'
      },
      formatter: function() {
        return this.value; // clean, unformatted number for year
      }
    }
  }
},

yAxis: {
  lineColor: '#d8efe3',
  gridLineColor: '#d8efe3',
  title: {
    text: null
  },
  labels: {
    style: {
      color: 'red'
    },
    formatter: function() {
     return this.value / 1000 +'k';
   }
 }
},


我相信你指的是。只需更改
yAxis标签的标签


希望这有帮助,让我知道如果你有任何问题

JSFIDLE链接将有助于让其他人为您找到解决方案我有点困惑。。。。你能不能提供一张照片,准确地显示你想改变什么?准确地说!谢谢。很抱歉问了新手问题。我没想到它有标签!
xAxis: {
    lineColor: '#d8efe3',
    labels: {
        formatter: function() {
            return this.value; // clean, unformatted number for year
        }
    }
},
yAxis: {
    labels: {
         style: {
             color: 'orange'
         },
         formatter: function() {
            return this.value / 1000 +'k';
         }
    },
    lineColor: '#d8efe3',
    gridLineColor: '#d8efe3',
    title: {
        text: null
    }
},