cebor / angular-highcharts

Highcharts directive for Angular
MIT License
213 stars 63 forks source link

Create Highcharts on the fly? #3

Closed ghost closed 8 years ago

ghost commented 8 years ago

hello is there a possibility to do something like this in angular2 too? http://pablojim.github.io/highcharts-ng/examples/example.html I have a form where i enter some data, I always redraw the chart when a value is changed... sorry new to angular2...

cebor commented 8 years ago

You can add Series and Points on the fly via addPoint and addSerie

The Chart constructor accepts the offical HighchartsOptions, so your free to use what ever you want. http://api.highcharts.com/highcharts

And via chart.ref you have access to the HighchartsChartObject, here you can change on the fly almost everything. http://api.highcharts.com/highcharts#Chart

cebor commented 8 years ago

In the next days, i will add some functions like, deleteSeries and changeType.