Highcharts. Pie chart. DataLabels formatter
问题 I have a pie chart. And I need to format DataLabels in someway. So I use: dataLabels: { useHTML : true, formatter: function () { if(this.point.id == 'razr') { return '<div><b>' + this.point.y + '</b></div><div style="left: -140px; text-align: center; position: absolute"><b>sum is:<br/>' + this.point.summ + ' </b></div>'; } else return '<b>' + this.point.y + '<b>'; } } And what I got: My problem is here style="left: -140px; . The position is static. I can't find any way to position my sum