score:1
Accepted answer
You can use IIFE function to store a component reference:
tooltip: {
formatter: (function(component) {
return function() {
console.log(component, this);
}
})(this)
}
Source: stackoverflow.com
Related Query
- Highcharts in angular scope problem with passing class reference
- passing formatting JavaScript code to HighCharts with JSON
- How to get the angular component class reference inside an emitted Highcharts selection event callback function?
- HighCharts Angular 8 | yAxis problem with FireFox and IE
- How to use highcharts with angular 5?
- Highcharts Angular with API data
- How to structure Angular with Highcharts and lots of dynamic data
- How do I use an Highcharts Solid Gauge in angular 6 with typescript?
- Highcharts - Global configuration with common code and unique data & Headings
- How to enable noData with highcharts and angular
- Getting "Highcharts error #17" when creating histogram (using Highcharts with Angular 6)
- Highcharts problem with xAxis using multiple series
- Date / Time problem in javascript with highcharts
- Highcharts / Highmaps with Angular - Cannot run demo
- Angular Highcharts list of charts with ng-repeat
- Angular highcharts problem showing week number
- Highcharts 5 tooltip colour with custom css class
- Creating Highcharts with Angular using Highcharts >= 5.0.0 and highcharts-ng >= 1.0.0 using a ChartFactory
- passing json values to highcharts from .net code behind
- Problem with request google sheets with Highcharts error 404
- dynamic highchart config in angular ui grid with angular js using pablojim's highcharts ng
- Rendering more than one chart with Highcharts using Angular js Directives
- Highcharts load series data problem in Angular
- Angular Highcharts - chart reference is gone after click
- How to create a solid gauge chart with Highcharts in angular 6?
- Problem doing math with point values in highcharts tooltip.pointFormat
- Implementing Custom Temperature Gauge with Angular 4 and HighCharts
- Highcharts series visibility with csv data source
- Angular - Errors when filling a Highcharts network graph with an array
- javascript associative array, looping, and / or scope issue with Highcharts JSON call
More Query from same tag
- renderHighcharts vs renderUI; Which one is faster when rendering several plots
- Having Highcharts directive how to get/change current path onClick event?
- How do I change speedometer caption style changes in highcharts
- R - Highcharter how to add horizontal dashed line?
- Angular highcharts show selected bar in bar chart
- How to display last 7 days data
- How can I get around "mixed active content" highcharts exporting error?
- Read data from csv file in Highchart Angular
- Mongodb + Stacked Highcharts
- print chart isn't working for columnrange HighCharts
- How to change the color of the each slice in piechart based on the backend response using highcharts
- Highcharts :Uncaught TypeError: $(...).highcharts is not a function
- HighChart - Can draw line between Title and SubTitle
- How do I remove padding from both sides of Highcharts area category chart?
- Is it possible to change the color of animating digits in Highcharts
- Location of the values in the Highcharts.js bar chart
- How to debug a non-working AJAX-based HighChart?
- Highcharts not showing up
- Highcharts Gauge: Labels radius styling
- @Param Plumber Doens't work with Highcharts - R
- Showing only the first custom label. Highcharts
- Highmaps - how to draw two mabBubble series on one chart
- How can I populate my highchart using Ajax.
- Align date ticks on x axis
- HighCharts - How to reposition labels after legend is clicked
- Why does my Highchart look different when I transfer my code from Jsfiddle to my server?
- Highcharts Data (using PHP JSON MYSQL)
- Highstocks 1M Zoom not active
- Moving of series in Highcharts
- Restrict mouseover area for a column to its own shape vs. surrounding area