angular-highcharts icon indicating copy to clipboard operation
angular-highcharts copied to clipboard

Highcharts annotation module usage

Open attilacsanyi opened this issue 6 years ago • 2 comments

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

attilacsanyi avatar Sep 18 '18 15:09 attilacsanyi

App crash with Annotations module when component destroy.

pinal-knoxpo avatar Apr 08 '19 12:04 pinal-knoxpo

Also crashes with export on component destroy after you exported the chart to any of the formats.

pedrocleto avatar May 03 '19 11:05 pedrocleto