gevgeny / angular2-highcharts

:bar_chart: :chart_with_upwards_trend: Highcharts for your Angular project
MIT License
381 stars 113 forks source link

Multiple charts same page example #231

Closed Raggyman closed 6 years ago

Raggyman commented 6 years ago

Trying to find an example that makes use to this package to dynamically generate multiple charts on the same page, and something that is consistent with the released version of Angular 4.

I have a situation where I run through a *ngFor which then builds then the graphs dynamically from data. So this list can be 1 or 100+. I am relatively new to Angular 4, have tried to get @ViewChild to work, but not having that much luck. Any pointers would be greatly appreciated and perhaps an example within the examples on how to achieve this would be great.

Thanks in advance.