highcharts, use external function but get highcharts data

I’m using highcharts in angular and trying to configure a personal tooltip.

My problem is I need to use the data that I have in my angular component and the point selected in the tooltip, so, if I use this structure:

pointFormatter: function () {
// here I have this.x and this.y as the selected point
}


and if I use this one:

pointFormatter: () => {
}


How can I do it to have access to both to be able to calculate my tooltip?

Source: New feed
Source Url highcharts, use external function but get highcharts data