Last Updated: February 25, 2016
· hjemmel

Angular directive for Highcharts

Angular directive for Highcharts

1) Adding the library:

<script src="ng-highcharts.min.js"></script>

2) Injecting in your app:


3) Now! Use the tag < highchart > anywhere:

<highchart type="column" data="arr"
           title="Movie Audience Measurement"
           subtitle="Source: PirateBay"
           y-title="Quantitative (MM)"
           categories="['Jan', 'Feb', 'Mar', 'Apr', 'May']">

Only types column, bar, line, area and scatter are available.

by @bielversallini