angular-highcharts
angular-highcharts copied to clipboard
Wrong reference to ref, should be using ref$
I'm getting the error:
core.js:6237 ERROR TypeError: Object(...) is not a function
at StockChart.init (angular-highcharts.js:240)
at ChartDirective.init (angular-highcharts.js:322)
at ChartDirective.ngOnInit (angular-highcharts.js:308)
at callHook (core.js:4735)
at callHooks (core.js:4699)
at executeInitAndCheckHooks (core.js:4639)
at refreshView (core.js:11963)
at refreshComponent (core.js:13410)
at refreshChildComponents (core.js:11666)
at refreshView (core.js:11997)
As you can see the angular-highcharts lib is evaluating !this.ref
although this is no longer existent since the reference now is updated and using ref$
this.ref is a private variable and should be available to the library.
Is this a compile or runtime error?
@thiagosbrito i just released a missing bugfix for stockcharts and mapcharts, maybe this helps