Having trouble accessing the chart object in Highcharts using the AngularJS directive HIGHCHARTS-NG.
var chart = $scope.chartConfig.getHighcharts();
console.log("chart", chart);
Encountering an error: $scope.chartConfig.getHighcharts is not a function.
When I
console.log("chart", chartConfig);
The object now includes the getHighcharts() function.
However, when I do
var chart = $scope.chartConfig
console.log("chart", chart);
The getHighCharts function is no longer available!
I really need to access that chart object urgently.
Thanks