score:2

Accepted answer

It seems that right property is not supported in chart.labels. For more complex configuration you can render the label using SVGRenderer:

  chart: {
    events: {
      load: function() {
        var chart = this,
          renderer = chart.renderer;

          var label = this.renderer.label('Test label', null, 100).add();
          label.attr({
            x: chart.plotWidth + chart.plotLeft - label.width
          });  
      }
    }
  }

Live demo: http://jsfiddle.net/kkulig/aob1e197/

The advantage of rendering labels via renderer (not via constructor options) is that you can access parameters of the already created chart and label (chart.plotWidth, chart.plotLeft, label.width in this case).


API reference: https://api.highcharts.com/class-reference/Highcharts.SVGRenderer#label


Related Query

More Query from same tag