Angular directive for Highcharts
Angular directive for Highcharts
1) Adding the library:
<script src="ng-highcharts.min.js"></script>
2) Injecting in your app:
angular.module('myApp',['ngHighcharts'])
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']">
</highchart>
Only types column, bar, line, area and scatter are available.
Written by Hans Jakob Emmel
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Highcharts
Authors

jacaetevha
4.823K

hjemmel
3.828K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#