dereklin

Results 13 comments of dereklin
trafficstars

Highcharts.setOptions(Highcharts.theme); seems to affect the new charts after it. What would the easiest way to refresh the charts so that the new theme is applied immediately to existing charts?

Interesting, so you are basically recreating the chart when switching themes right? ``` this.themeService.theme$.subscribe(theme => { this.chart = new Chart(this.options); }); ``` By doing ``` this.linkRef.onload = () => this.themeService.themeLoaded();...

How to do the equivalent of this?: ``` node --max-old-space-size=8192 node_modules/@angular/compiler-cli/src/main.js -p tsconfig-aot.json ```

@micaelmbagira Here is my github link: https://github.com/dereklin/ng2-danshui I tried to run npm run build

I am using windows 10, node v4.4.7, npm 3.10.5

using webpack works, but systemjs doesn't

@micaelmbagira same problem ``` [00:17:50] Finished 'other' after 405 ms [00:17:50] Finished 'replaceTemplates' after 417 ms [00:17:50] Starting 'systemjs'... [00:17:52] 'systemjs' errored after 1.39 s [00:17:52] Error on fetch for...

@msshli You did this right?: ``` builder.buildStatic( // conf.path.tmp('templates/index.ts'), '.tmp/templates/index.ts', conf.path.tmp('index.js'), ``` I am now getting this error: ``` [22:01:50] Finished 'systemjs' after 6.58 s [22:01:50] Starting 'build'... [22:01:50] 'build'...

@SanderElias @cyrilletuzi I was thinking this could be part of Angular. Can the component decorator be enhanced to do: ``` @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'], unsubscribeOnDestroy: true })...

I am wondering the same