angular-highcharts
angular-highcharts copied to clipboard
Highcharts annotation module usage
Dear @cebor I really inspired with this wrapper lib and already using quite a while.
Recently I need to use the Highcharts annotation module.
I wanted to use the same way as you suggested with the HIGHCHARTS_MODULES
Provider after this import:
import * as annotations from 'highcharts/modules/annotations.src';
But this seem not working as other modules from Highcharts. I can only work with the old approach like this:
import * as Highcharts from 'highcharts';
import Annotations from 'highcharts/modules/annotations.src';
Annotations(Highcharts);
...
Would you mind look into why is not working in the provider way as I like it very much and thanks for the effort so far for maintaining this repo (official wrapper is too young for me at this time in this state).
Cheers, Attila
App crash with Annotations module when component destroy.
Also crashes with export on component destroy after you exported the chart to any of the formats.