Highcharts - 绘图区域外的注释 (top/bottom) - 不显示

Highcharts - Annotations outside plot area (top/bottom)- doesn't show up

我在绘图区域上方设置注释时遇到问题。当我在控制台中检查图表时,我看到注释已呈现,只是标签没有显示。
我浏览了 highcharts 论坛,发现这个话题:https://www.highcharts.com/forum/viewtopic.php?t=39918 where @ppotaczek created livedemo http://jsfiddle.net/ppotaczek/j4m2vzaa/ 来回答某人的问题,我想我也有类似的情况。我错过了什么吗?
有人可以建议我解决方法吗?谢谢!

Highcharts.chart('container', {
  xAxis: {
    categories: ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun',
      'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'
    ]
  },

  title: {
    text: 'Highcharts Annotations'
  },

  series: [{
    data: [{
      y: 29.9,
      id: 'min'
    }, 71.5, 106.4, 129.2, 144.0, 176.0, 135.6, 148.5, {
      y: 216.4,
      id: 'max'
    }, 194.1, 95.6, 54.4]
  }],

  annotations: [{
    labelOptions: {
        backgroundColor: 'rgba(255,255,255,0.5)',
      verticalAlign: 'top'
    },
    labels: [{
        y: 55,
      point: {
        xAxis: 0,
        yAxis: 0,
        x: 1,
        y: 0
      },
      text: 'label1'
    }, {
        y: 55,
      point: {
        xAxis: 0,
        yAxis: 0,
        x: 3,
        y: 0
      },
      text: 'label2',
      backgroundColor: 'white'
    }]
  }]
});

]1

感谢您分享这个问题,这是一个回归。我刚刚在 Highcharts GitHub 问题频道上报告了这个错误。

https://github.com/highcharts/highcharts/issues/12897

如果您需要临时解决方法,请在上述 link 下方的评论中询问。核心开发人员应该会快速回复您。