Highcharts 在highchart图形上插入最后一个标签

Highcharts 在highchart图形上插入最后一个标签,highcharts,pie-chart,gauge,Highcharts,Pie Chart,Gauge,我想将最后一个标签显示为此饼图上的最大值。在本例中,我希望它显示825000作为最后一个标签。有办法做到这一点吗 "yAxis": [{ "lineWidth": 0, "min": 0, "max": 825000, /* Budget + Contingency */ tickColor: 'white', tickWidth: 4, minorTickInterval: 'auto', minorTickLength: 3, minorTickPos

我想将最后一个标签显示为此饼图上的最大值。在本例中,我希望它显示825000作为最后一个标签。有办法做到这一点吗

    "yAxis": [{
  "lineWidth": 0,
  "min": 0,
  "max": 825000, /* Budget + Contingency */
  tickColor: 'white',
  tickWidth: 4,
  minorTickInterval: 'auto',
  minorTickLength: 3,
  minorTickPosition: 'inside',
  tickPixelInterval: 50,
  tickPosition: '',
  tickLength: 30,
  showLastLabel: false,

您可以使用以获得所需的标签,但它将转换为千位的
k

yAxis

"yAxis": [{
  "lineWidth": 0,
  "min": 0,
  "max": 825000, /* Budget + Contingency */
  tickColor: 'white',
  tickWidth: 4,
  minorTickInterval: 'auto',
  minorTickLength: 3,
  minorTickPosition: 'inside',
  tickPixelInterval: 50,
  tickPosition: '',
  tickLength: 30,
  showLastLabel: true,
  tickPositions: [0, 100000, 200000, 300000,400000,500000,600000,700000 ,825000],

  "labels": {
    "enabled": true,
    distance: 16,
    style: {
      color: '#50a2a7',
      font: '11px Trebuchet MS, Verdana, sans-serif'
    }
  },
  "title": {
    "text": "",
    "useHTML": false,
    "y": 80
  },
  "pane": 0
}],
演示