i'm trying to figure out how to access the methods like reflow or setSize from controller.
In regular javascript it was always just like get the div element (#somechart).highcharts().reflow()... As mentioned in the example I'd suggest I should do something like this.chart.reflow but none of them works. I have my charts wrapped in angular2 grid and as soon as the size of the widget changed the chart needs to be rerendered.
Hey there,
i'm trying to figure out how to access the methods like reflow or setSize from controller. In regular javascript it was always just like get the div element (#somechart).highcharts().reflow()... As mentioned in the example I'd suggest I should do something like this.chart.reflow but none of them works. I have my charts wrapped in angular2 grid and as soon as the size of the widget changed the chart needs to be rerendered.
hope anyone can help out.
cheers