Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
gevgeny authored Feb 12, 2017
1 parent 9f553d2 commit 4fe7517
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# angular2-highcharts

> Angular2 charting components based on Highcharts. [Live Demo](https://plnkr.co/edit/pnkc8Iw9cSrCYn9zr0VZ?p=preview)
> Highcharts chart components for Angular apps. [Live Demo](https://plnkr.co/edit/pnkc8Iw9cSrCYn9zr0VZ?p=preview)

[![build](https://travis-ci.org/gevgeny/angular2-highcharts.svg?branch=master)](https://travis-ci.org/gevgeny/angular2-highcharts)
Expand Down Expand Up @@ -107,7 +107,7 @@ export class App {
[Live Demo](https://plnkr.co/edit/IuwjpPB1YQW1T7i4B8SZ?p=preview)
### Handling Events
Highcharts itself provides bunch of events, and you still can use them with angular2-higcharts via the `options` property of the `chart` component. But it is not an angular2 way to handle events like this. So that angular2-higcharts provides `EventEmitter<ChartEvent>` wrappers for highcharts events. `ChartEvent` is an angular2-higcharts class which simply wraps original Highcharts events (`chartEvent.originalEvent`) and adds event handler context (`chartEvent.context`) since it differs depending on events.
Highcharts itself provides bunch of events, and you still can use them with angular2-higcharts via the `options` property of the `chart` component. But it is not an angular way to handle events like this. So that 2-higcharts provides `EventEmitter<ChartEvent>` wrappers for highcharts events. `ChartEvent` is an angular2-higcharts class which simply wraps original Highcharts events (`chartEvent.originalEvent`) and adds event handler context (`chartEvent.context`) since it differs depending on events.
#### Chart Events
Expand Down

0 comments on commit 4fe7517

Please sign in to comment.