title: Highcharts data label on last point of series not displayed
body: <p>I want to display a data label on the last point of a series in a line chart and added this code: </p>
  
  <pre><code> dataLabels: {
      enabled: true,
      formatter: function() {
        if (this.x == this.series.data[this.series.data.length - 1].x) {
          return 'Test';
        } else {
          return null;
        }
      }
    },
  </code></pre>
  
  <p>Unfortunately the data label is not dislayed. See <a href="https://jsfiddle.net/Joh_Christ/f3z4oksw/3/" rel="nofollow noreferrer">fiddle</a></p>