pablojim/highcharts-ng

how to get chart object in angular7, for re-rendering?

Anj21 opened this issue · 0 comments

Anj21 commented

A workaround ( jQuery!) is to get it from the element:

var chart = $('#theChart').highcharts();
chart.series[0].update({ color: '#d14242' });

This is how, we can do in AngularJs, but In angular7, I am not getting. Can anyone Please help.

Originally posted by @marcguyer in #97 (comment)