Angular highcharts,使用外部函数但获取highcharts数据

Angular highcharts,使用外部函数但获取highcharts数据,angular,highcharts,angular2-highcharts,Angular,Highcharts,Angular2 Highcharts,我在angular中使用highcharts并尝试配置个人工具提示 我的问题是我需要使用角度组件中的数据和工具提示中选定的点,因此,如果我使用此结构: pointFormatter: function () { // here I have this.x and this.y as the selected point // but I have no access to external functions } 如果我用这个: pointFormatter: () =&g

我在angular中使用highcharts并尝试配置个人工具提示

我的问题是我需要使用角度组件中的数据和工具提示中选定的点,因此,如果我使用此结构:

pointFormatter: function () {
     // here I have this.x and this.y as the selected point
     // but I have no access to external functions
}
如果我用这个:

pointFormatter: () => {
  // here I have access to external functions
  // but I have no access to the selected point
}

我如何才能同时访问这两个选项以计算工具提示?

这是否回答了您的问题?您好,谢谢,不,使用此解决方案,我有相同的问题,我有外部函数或选择点,但在同一时间点我没有这两个。继续上一个问题中的此线程。这是否回答了您的问题?您好,谢谢,不,使用此解决方案,我有相同的问题,我有外部函数或选择点,但在同一时间点我没有这两个。请继续上一个问题中的此线程。